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. Decode PDU Using Shortname

Decode PDU using shortname

By Costa , 16 April, 2025
Forums
Gurux.DLMS

Hello!

Recently, I’ve been trying to decode an information report packet with the PDU interface type, but the value always comes out as null, even though the GXDLMSTranslator decodes it correctly. I would like to know if this is indeed as it should be. I’m using the library version 9.0.2503.2001 for .NET.

Profile picture for user Kurumi

Kurumi

1 year 2 months ago

Hi, Can you add the PDU so I…

Hi,

Can you add the PDU so I can check it?

BR,
Mikko

Costa

1 year 2 months ago

Hello, Here is an example:…

Hello,

Here is an example:
18000202443002443802050000444402040500000000050000000005000000000500000000

Profile picture for user Kurumi

Kurumi

1 year 1 month ago

Hi, Short name referencing…

Hi,

Short name referencing is not very good with notifications. You need to add COSEM objects manually and change the object type, logical name, and address. Use this as a template:

var client = new GXDLMSSecureClient(false, 0, 0, Authentication.None, null, InterfaceType.PDU);
client.Objects.Add(new GXDLMSData(, 0x4430 - 8));
client.Objects.Add(new GXDLMSData(null, 0x4438 - 8));
var data = "18000202443002443802050000444402040500000000050000000005000000000500000000";
GXReplyData rd = new GXReplyData();
GXReplyData nd = new GXReplyData();
client.GetData(GXDLMSTranslator.HexToBytes(data), rd, nd);
List<KeyValuePair<GXDLMSObject, int>> list = new List<KeyValuePair<GXDLMSObject, int>>();
client.ParseReport(nd, list);

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501
  • 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

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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin