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. 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 month ago

Hi, Can you add the PDU so I…

Hi,

Can you add the PDU so I can check it?

BR,
Mikko

Costa

1 month ago

Hello, Here is an example:…

Hello,

Here is an example:
18000202443002443802050000444402040500000000050000000005000000000500000000

Profile picture for user Kurumi

Kurumi

4 weeks 1 day 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

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 05/20/2025 - 08:40
    gurux.dlms.c 9.0.2505.2001
  • Mon, 05/19/2025 - 10:19
    gurux.net.java 1.0.30
  • Mon, 05/19/2025 - 10:00
    gurux.dlms.c 9.0.2505.1901
  • Thu, 05/15/2025 - 16:26
    gurux.dlms.c 9.0.2505.1501
  • Wed, 05/14/2025 - 08:30
    gurux.dlms.c 9.0.2505.1401

New forum topics

  • Reading all "Data" object type parameter together
  • com_read getting failed for billing profile and instantaneous profile
  • Simulator connection closed
  • Regarding the dlms android project
  • Issue with "ServiceError Initiate Error exception. Service UNSUPPORTED"
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin