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. How Does DLMS Get Notification That Received Data Is Completed?

How does DLMS get notification that received data is completed?

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 KhushbuBadheka , 7 July, 2020
Forums
Gurux.Serial

Hi Mikko,

Currently we are using Director to read data from meter. And from logs we can check that "7E" receives in the data. So can you please help us to understand how does DLMS come to know about frame completion?

Thanks

KhushbuBadheka

5 years 11 months ago

Hi Mikko,

Hi Mikko,

Can you please confirm that DLMS is following escape sequence for 7E as described in HDLC format.

Thanks

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi,

Hi,

Structure of HDLC frame is explained here:

https://en.wikipedia.org/wiki/High-Level_Data_Link_Control

DLMS PDU can be send using HDLC framing. It's used when communicating using a serial port connection.

BR,
Mikko

KhushbuBadheka

5 years 11 months ago

Hi Mikko,

Hi Mikko,

Thanks for the update. However I would like to know that does Gurux.Serial handle escape sequence(if data contains "7E").

Waiting for your reply.

Thanks

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi,

Hi,

You can set EOP to serial component like this.

ReceiveParameters<byte[]> p = new ReceiveParameters<byte[]>()
{
Eop = 0x7E,
WaitTime = WaitTime,
};

BR,
Mikko

KhushbuBadheka

5 years 11 months ago

Thanks Mikko.

Thanks Mikko.

However, is this not done in Gurux.Serial? If not then how does it manage to get full data with "7E". Currently I use it to read meter serially and got data without any changes.
Can you please help me to clear this?

Thanks

Profile picture for user Kurumi

Kurumi

5 years 11 months ago

Hi,

Hi,

If you set End of packet character reading is faster, but DLMS component makes parsing from the byte stream.

BR,
Mikko

  • 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