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. Convert WRAPPER To HDLC

Convert WRAPPER to HDLC

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.

Profile picture for user mahsen
By mahsen , 11 May, 2020
Forums
Gurux.DLMS

Hi
How are you ?

Is there a way to convert "wrapper" packets to "hdlc" packets?
Please help me.

Profile picture for user Kurumi

Kurumi

6 years 1 month ago

Hi,

Hi,

There is no easy way. At the moment we have implemented server and client to NIC card.
Communication from client is done with WRAPPER (with server) and communication between NIC (client) and the meter is done using HDLC.

This scenario works best at the moment, but implementation takes time.

BR,

Mikko

Profile picture for user mahsen

mahsen

6 years ago

Thanks for your reply,

Thanks for your reply,
Is there a way to create a hdlc with a pdu pack by use a "dlms c" library?

Profile picture for user Kurumi

Kurumi

6 years ago

Hi,

Hi,

At the moment, no. It's possible to create library that can handle small packets but handling large packets is more complex. The problem is if size of PDU is different or if used conformances are different. It can cause scenarios that are not possible to handle.

I can think if there is a way how to just change the HDLC to WRAPPER if PDU size is the same. This is a common problem when we are communicating over the air and communication speed is slow. Using WRAPPER we can save a few bytes.

I can check this at the beginning of next month.

BR,
Mikko

Profile picture for user mahsen

mahsen

6 years ago

Hi

Hi
I am writing a converter,
What is the proportion of "RNR" and "FRMR" packet in "HDLC" in "WRAPPER" ?

Profile picture for user Kurumi

Kurumi

6 years ago

Hi,

Hi,

RNR and FRMR are not used with WRAPPER.

BR,
Mikko

Profile picture for user mahsen

mahsen

6 years ago

Hi, What to do in this case?

Hi,

What to do in this case?

Profile picture for user Kurumi

Kurumi

6 years ago

Hi,

Hi,

There is no general, simple solution for this. It depends from the meter. :-(
In general speaking, I would say that wait a while and send HDLC frame again or return the error.

BR,

Mikko

Profile picture for user mahsen

mahsen

6 years ago

Hi,

Hi,

Thanks for your tips,
I will do the same.

Profile picture for user mahsen

mahsen

6 years ago

Hello

Hello

What is the "<ACK>" or "<NACK>" package in the "Wrapper" ?
Do you have a document that I can use ?

Thank you very much.
Mahsen

Profile picture for user Kurumi

Kurumi

6 years ago

Hi Mahsen,

Hi Mahsen,

It depends from the message. WRAPPER is documented in IEC 62056-47 COSEM transport layers for IPv4 networks.

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