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. Hdlc Frame Size Changed

Hdlc frame size changed

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 rudyjansen , 11 July, 2018
Forums
Gurux.DLMS

Where recently upgraded the Gurux software from 2015 version to the version from beginning this year.
Now where facing problems with datacollection on some older (<2012) Landis+Gyr meters in terminal mode.

Our meter specialist is telling me that the problem arises in the AARQ request.
After this it gets stuck.
The data sent from the manufacturer software is different than the Gurux software sends. The manufacturer software is sending one Hdlc frame and Gurux is sending two frames.
I saw that there was a modification https://www.gurux.fi/node/6280 on the frame size.
//Remove BOP, type, len, primaryAddress, secondaryAddress, frame, header CRC, data CRC and EOP from data length.
frameSize -= 11;
The max TX size for LG meters is 62 bytes. The AARQ data is 56 bytes. LG thinks it fits but Gurux 62-11=51 bytes won't let it fit and makes two frames.

So who is right? Is somewhere described that the TX frame size is for the whole packet or only for the data?

And I still won't know if sending the AARQ in one frame will solve our problem, where going to have to find out.

Profile picture for user Kurumi

Kurumi

8 years 3 months ago

Hdlc frame size changed

Hi,

Frame sizes are for whole packet, not just payload. This is not a problem if the frame size is too large if serial or TCP/IP connection is used, but this is causing problems when wireless connections are used.

This meter doesn't pass new Conformance Certificate Tests. Can you modify the source code for your needs?
There is only one place what you need to change.

BR,

Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • 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
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
More

Who's new

  • Asier Sierra
  • BlessyAnn
  • sravya.thota@m…
  • Diwakar
  • williamorussell
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin