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

6 months 3 weeks ago

Hi, Can you add the PDU so I…

Hi,

Can you add the PDU so I can check it?

BR,
Mikko

Costa

6 months 3 weeks ago

Hello, Here is an example:…

Hello,

Here is an example:
18000202443002443802050000444402040500000000050000000005000000000500000000

Profile picture for user Kurumi

Kurumi

6 months 2 weeks 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

  • Wed, 10/29/2025 - 08:51
    gurux.dlms.c 9.0.2510.2901
  • Thu, 10/16/2025 - 09:59
    gurux.dlms.java 4.0.83
  • Wed, 10/08/2025 - 10:21
    gurux.dlms.c 9.0.2510.0801
  • Fri, 09/26/2025 - 10:02
    gurux.dlms.cpp 9.0.2509.2601
  • Fri, 09/26/2025 - 09:45
    gurux.dlms.c 9.0.2509.2601

New forum topics

  • How to get/convert user readable format data from readRowsByRange
  • Insufficient memory to continue the execution of the program.
  • The client instance code failed to connect to the electricity meter for authentication
  • Unable to Release Request when closing connection with meter.
  • Failed to receive reply from the device in given time.
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin