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. Forums
  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 6 months ago

Hi,

Hi,

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

BR,
Mikko

ali_bahal

4 years 6 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 6 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 6 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 6 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 6 months ago

thank you.

thank you.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin