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

7 years 11 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, 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