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. HDLC Parameters Settings In DLMS Protocol

HDLC parameters settings in DLMS protocol

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 , 10 April, 2020
Forums
DLMSDirector

Hi Mikko,

As per the information related to HDLC frame settings, it shows that parameters like :
Max frame size in transmit
Max frame size in receive
Window size in transmit
Window size in receive

are only supported to IEC protocol.
However, I want to use them for DLMS meters to make frame size lesser. Or you can say
whether those parameters are applicable for DLMS frames that we need to send and receive?

Thanks and Regards,

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

You can set those values selecting Advanced-tab in GXDLMSDirector and modify HDLC settings.

OR:

GXDLMSClient cl = new GXDLMSClient();
cl.Limits.MaxInfoTX = cl.Limits.MaxInfoRX= 256;
BR,
Mikko

KhushbuBadheka

6 years 1 month ago

Thanks Mikko,

Thanks Mikko,

As you suggested we already set HDLC settings using Advanced-tab in GXDLMSDirector. However, when we read IEC HDLC settings we got different values.
Please check the attached screen shots.

Regards,

Image

KhushbuBadheka

6 years 1 month ago

HDLC frame settiings.

HDLC frame settiings.

Image
Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

HDLC setup shows default values. In the Advanced page, you set proposed values that the client proposes when making the connection. Note! All the meters don't support this.

Try to change max payload from 128 to 250 in Advanced page.

BR,
Mikko

KhushbuBadheka

6 years 1 month ago

Thanks Mikko,

Thanks Mikko,

I tried to set required length and yes as per your suggestion it was set. However, when I tried to read Profile Generic, I received data more than set values.
Set Max length in TX/RX = 200
Received data length = 208

Regards.

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

TX/RX size is the size of payload, not size of the frame.

BR,
Mikko

KhushbuBadheka

6 years 1 month ago

Noted.

Noted.

Mikko, Can you please help me to set the PDU size with which frame size will not be exceeded more than 200 bytes?

Regards.

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

Change max payload from 200 to 192 in Advanced page.

BR,
Mikko

KhushbuBadheka

6 years 1 month ago

Thanks Mikko.

Thanks Mikko.

Will check and let you know.

Regards.

KhushbuBadheka

6 years 1 month ago

Thanks Mikko.

Thanks Mikko.

It Worked.

Stay safe.

  • 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