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.
Hi, Can you add the PDU so I…
Hi,
Can you add the PDU so I can check it?
BR,
Mikko
Hello, Here is an example:…
Hello,
Here is an example:
18000202443002443802050000444402040500000000050000000005000000000500000000
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