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

Hi,

Hi,

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

BR,
Mikko

ali_bahal

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

thank you.

thank you.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More

Who's new

  • CorwXGlcWwyuiJawypxb
  • Vegazone-Casin…
  • VegaZone-lBit
  • Vegazone-Sverige-Fug
  • UIRlLOZQoyTZHC…
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin