Hello Team,
I have an push event notification pkt
00 01 00 01 00 40 00 59 DB 08 41 4C 4C 00 00 51 9A BD 4E 20 00 00 00 00 DC 24 2E 1C 15 50 A9 47 48 C2 51 7E 9D FB 29 A4 54 0F 93 B9 21 40 E9 B1 37 E8 FA EC 12 AB B5 C5 01 5F 61 59 C2 1F 41 C2 61 2D EA 65 43 F4 4F 06 AD 41 C3 F5 53 9D 38 F6 0C FC 54 70 1D E1 32 9C 13 0E BF DB 85 99 FB 89 76
i tried to ready pkt in following manner so that i can decipher it.
00 01 00 01 00 40 // tcp wrapper
00 59 // pkt len
DB
08 // len of systemtitle
41 4C 4C 00 00 51 9A BD // system title
4E //len of cipher data
20 00 00 00 00 DC 24 2E 1C 15 50 A9 47 48 C2 51 7E 9D FB 29 A4 54 0F 93 B9 21 40 E9 B1 37 E8 FA EC 12 AB B5 C5 01 5F 61 59 C2 1F 41 C2 61 2D EA 65 43 F4 4F 06 AD 41 C3 F5 53 9D 38 F6 0C FC 54 70 1D E1 32 9C 13 0E BF DB 85 99 FB 89 76
now not sure what to do after it. also what cosem tag it will be decode via.
Hi, I propose that you use…
Hi,
I propose that you use Gurux open-source libraries. You will save a lot of time by doing this.
If you want to do this by yourself, you need to decrypt the data. After that, you can parse the received PDU and find the sent values.
BR,
Mikkko
Hello Kurumi, Thanks for…
Hello Kurumi,
Thanks for your prompt reply
I am using Gurux only. But want to understand what is happening behind the scene.
1. Does my understanding is correct for above pkt.
2. What does the mean of 'DB' after pkt len
3. how the decryp work. which algo it use..
I tried with python push but it was not decryting the pkt.
Hi, Yes, your idea is…
Hi,
Yes, your idea is correct. DLMS is not an easy protocol and it's not possible to explain shortly. If you are interested, I propose that you get the IEC 62056-53 COSEM application layer standard. It will describe ciphering.
BR,
Mikko
Hello Kurumi, I am just…
Hello Kurumi,
I am just wondering, can we set how the data should be pushed to like the pkt which i shared was only encrypted.
is it possible to set that i need the push pkt should have encrypted and authtag as well.
instead of 0x20 -> 0x30
can it be set in the push setup. or it is meter vendor who have to do at their end
Hi, This must be configured…
Hi,
This must be configured to the meter side. This can be changed using Security policy of the Security Setup object.
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSSecuritySetup
BR,
Mikko