Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. PUSH Pkt Understanding

PUSH Pkt Understanding

By ngoyal16 , 10 May, 2024
Forums
Gurux.DLMS

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.

Profile picture for user Kurumi

Kurumi

2 years ago

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

ngoyal16

2 years ago

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.

Profile picture for user Kurumi

Kurumi

2 years ago

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

ngoyal16

2 years ago

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

Profile picture for user Kurumi

Kurumi

2 years ago

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

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin