Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Node
  3. HeartBeat

HeartBeat

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By ali_bahal , 8 December, 2021
Forums
Gurux.DLMS

hi, is there any standard for HeartBeat packet (I mean packet that, the meter will send to
head-end periodically to keep connection alive) ?
and do you implemented this in c# version ?

Profile picture for user Kurumi

Kurumi

4 years 11 months ago

Hi,

Hi,

Call GXDLMSClient.GetKeepAlive-method. It will do this.

BR,
Mikko

ali_bahal

4 years 11 months ago

thank you for response. I

thank you for response. I already had looked at your KeepAlive method. it's try to read an object.

public byte[] GetKeepAlive()
{
Settings.ResetBlockIndex();
if (UseLogicalNameReferencing)
{
return Read("0.0.40.0.0.255", ObjectType.AssociationLogicalName, 1)[0];
}
return Read(0xFA00, ObjectType.AssociationShortName, 1)[0];
}

but we have meter that sends its KeepAlive in this format:
0001000100000003011113

hence, I want to know is there standard for it?

Profile picture for user Kurumi

Kurumi

4 years 11 months ago

Hi,

Hi,

There is a keepalive in HDLC standard, but there is no standard solution for WRAPPER.
Your meter is using the manufacturer-specific solution to keep the connection up. It's better to read something from the meter to keep the connection up than use a manufacturer-specific solution like this.
This manufacturer-specific solution might cause problems later if DLMS standard changes.

BR,
Mikko

ali_bahal

4 years 11 months ago

sorry for troubling you, can

sorry for troubling you, can you comment keepalive in HDLC standard?
I couldn't find it. I'm really sorry for this request and thank thank you for complete answer.

Profile picture for user Kurumi

Kurumi

4 years 11 months ago

Hi,

Hi,

All the metes doesn't support DLMS RR, but you can find more information from here:
https://en.wikipedia.org/wiki/High-Level_Data_Link_Control#Receive_Read…

BR,
Mikko

ali_bahal

4 years 11 months ago

thank you.

thank you.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101

New forum topics

  • Landis E650 meter reading over DLMS
  • class_id = 40, version = 2, pushsetup Unparsed data frame
  • GXObisValueItem entries without MaskSize appear to be interpreted as bit flags
  • CheckedListBox incorrectly selects GXObisValueItem Value=0 for non-zero values
  • UIValueType=TextBox is rendered as CheckedListBox when Values are defined
More

Who's new

  • Sayang
  • q80435762@gmail.com
  • ONCAK
  • Berhasil
  • ratirvivege1979
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin