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

3 weeks 5 days ago

Hi, Can you add the PDU so I…

Hi,

Can you add the PDU so I can check it?

BR,
Mikko

Costa

3 weeks 4 days ago

Hello, Here is an example:…

Hello,

Here is an example:
18000202443002443802050000444402040500000000050000000005000000000500000000

Profile picture for user Kurumi

Kurumi

2 weeks 5 days 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

  • Fri, 05/09/2025 - 13:03
    Gurux.DLMS.Python 1.0.181
  • Wed, 05/07/2025 - 16:09
    Gurux.DLMS.Android 2.0.14
  • Tue, 05/06/2025 - 09:34
    gurux.dlms.c 9.0.2505.0601
  • Tue, 05/06/2025 - 08:51
    GXDLMSDirector 9.0.2505.0601
  • Tue, 05/06/2025 - 08:26
    gurux.dlms.java 4.0.79

New forum topics

  • GXNet python implementation hangs on close
  • Conexión Landis ZMG310 Protocolo IEC
  • I need function of below OBIS code
  • How communicating with meter using proparatory command
  • US Association with guruxDLMSServer.c
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin