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. Node
  3. HDLC Length Question In "Gurux DLMS Translator"

HDLC length question in "Gurux DLMS Translator"

By qiumike , 27 February, 2024
Forums
DLMSDirector

Hi there.

I'm new to the DLMS world and currently using this wonderful tools to help with meter development.

I just don't know for these two frames, why the len field in the parsed xml doesn't match the actual frame
e.g.
* First frame's len is 0x0A but in XML it is "C"
* 2nd frame's len is 0x23 but in XML it is "22"

Could anyone help to explain this?

Thx!

Image
Profile picture for user Kurumi

Kurumi

2 years 8 months ago

Hi, HDLC len 0xC is the…

Hi,

HDLC len 0xC is the total length of the HDLC frame. It includes all the data in the HDLC frame (including bytes before HDLC frame length).

BR,
Mikko

qiumike

1 year 11 months ago

Hi Mikko According this…

Hi Mikko

According this logic, I think the "HDLC len" of the second frame should be 25 instead of 22, could you further explain the logic? Thx!

BR,
Mike

Profile picture for user Kurumi

Kurumi

1 year 11 months ago

Hi, Can you add those frames…

Hi,

Can you add those frames as a hex value so I can validate them?

BR,
Mikko

qiumike

1 year 11 months ago

Hi Here is the frame: 7E A0…

Hi

Here is the frame:

7E A0 23 03 00 02 C0 01 73 D9 52 81 80 14 05 02 01 4A 06 02 01 4A 07 04 00 00 00 01 08 04 00 00 00 01 E8 AB 7E

BR,
Mike

  • 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

  • Association refresh related issue
  • 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
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin