Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. 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

1 year 9 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 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 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 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

  • Fri, 12/12/2025 - 08:38
    Gurux.DLMS.Python 1.0.195
  • Thu, 12/11/2025 - 13:22
    Gurux.DLMS.Python 1.0.194
  • Thu, 12/11/2025 - 11:01
    gurux.dlms.java 4.0.86
  • Wed, 12/10/2025 - 08:45
    gurux.dlms.java 4.0.85
  • Tue, 12/02/2025 - 10:21
    gurux.dlms.c 9.0.2512.0201

New forum topics

  • Inhemeter i210 dlms director
  • Gurux.Net
  • GXTIME Conversion Issue
  • DLMS Meter Gurux DLMS Director Properties
  • Using MAX3232 + FT232RL to Energy meter with GXDLMS Director
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin