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. Compact Frame - Gas Meter

Compact Frame - Gas Meter

By Sathappa , 22 March, 2023
Forums
General discussion

Hi Mikko,

Trying to read gas meter, which pushes data every hour in UDP Port.
We created simple UDP listener to log frames sent from meter.

Sample frame received:
00 01 00 01 00 01 00 A1 DB 08 93 15 99 88 07 17 40 03 81 95 30 00 00 00 3E DC 5C EF CD 19 F7 80 5A 09 5A 3C D4 A3 8B C4 63 E5 B3 CE BB B4 C7 D9 F0 D6 6D 5C 4C 46 B3 40 0B 83 9C D0 E7 C2 2D 12 1A 1E D1 58 FE BF 1D 6A EE CF 64 68 63 FE 05 B4 26 7F DE CD 4A E9 56 FA CD 4B E0 E4 42 FF F7 A1 BF F0 9A DF 50 C7 41 3D 94 55 EB 95 72 B3 AE 79 F2 75 5D 8A E4 EB 23 36 D2 97 2F A8 82 AB B3 D3 73 8A CA 08 4E B0 FD C8 D5 2E 02 15 95 8E 90 D7 4A BF 0F 45 AF 8F 16 73 A0 E8 02 72 25 95 4C A1 33 1B DD 28 6C E3 EE B5 7C

They also provided the authentication key for decrypting the frames.

On enquiring to meter team, they specified these are compact frames sent from meter. To understand the frame follow the standard UNI-TS 11291-11.

Does gurux supports decoding UNI-TS 11291-11 compact frames?
Does gurux supports decryption as per standard: UNI-TS 11291-11?

We can make use of gurux listener to do the same?

Is there a option in gurux sample that we can supply the authentication key in listener, so that gurux will decrypt the frames and results in obis:value mapping?

Please guide us here.

Thanks,
Sathappa

Profile picture for user Kurumi

Kurumi

3 years 2 months ago

Hi Sathappa, Gurux libraries…

Hi Sathappa,

Gurux libraries are supporting UNI/TS 11291-11-2.

You can try this by getting a push listener example;
https://github.com/Gurux/Gurux.DLMS.Net/tree/master/Gurux.DLMS.Push.Lis…

Change interface type to WRAPPER and update block cipher and authentication keys.
Then send data and you can see the result as an XML.

BR,
Mikko

Sathappa

3 years 2 months ago

Hi Mikko, Thanks for your…

Hi Mikko,

Thanks for your immediate reply.

We tried with push listener & we got the octect string as response (PFA the attached
image)

What kind of data the octet string represents?

Total Bytes: 122 bytes (sample as attached image)
Octect string:
"31641AE0E50091000000452A3C0000000000000000000003641A996000000000000000000000641947E0000000000000000000006417F660000000000000000000000163FEE9E0000001010000000000000000000000000000000000000000000000000C07E70214FF0D0110FF800000008002000000000009FF"

To add more info:
The meter we are reading is honeywell gasmeter

From meter vendor side they mentioned they have 4 compact frames (47, 48, 49 & 51)

When we try to parse the above octet string, this does not match with any of the compact frames mentioned above.

Can you please help us to clarify that what is exact info we required to parse the octet string?

Thanks,
Sathappa

Image
Profile picture for user Kurumi

Kurumi

3 years 2 months ago

In reply to Hi Mikko, Thanks for your… by Sathappa

Hi, Please, don't add images…

Hi,

Please, don't add images. Plain text is better.

You have one structure that includes an octet string. What is expected data? Should this be a compact data structure?

BR,
Mikko

Sathappa

3 years 2 months ago

In reply to Hi, Please, don't add images… by Kurumi

Hi Mikko, We are not sure…

Hi Mikko,

We are not sure.

On checking with meter vendor only info shared from the is "follow the DLMS and the UNI-TS 11291-11 standards."

Thanks

Profile picture for user Kurumi

Kurumi

3 years 2 months ago

In reply to Hi Mikko, We are not sure… by Sathappa

Hi, The first byte (0x31 =…

Hi,

The first byte (0x31 = 49) is Compact Frame id #49. C# stack can't parse pre-defined UNI-TS 11291-11 compact messages. Everything else is there, but you need to get UNI-TS 11291-11 standard and check the structure of "Trama compatta" for CF49 and manually parse received data from the bytes.

Our clients are receiving "Trama compatta" messages from CF1 to CF21 so I can't help you with CF49.
We have UNI-TS 11291-11-2 and that doesn't define CF49.

BR,
Mikko

Sathappa

3 years 2 months ago

In reply to Hi, The first byte (0x31 =… by Kurumi

Hi Mikko, Thank you. Its…

Hi Mikko,

Thank you. Its CF49 you are right.

Now we are able to parse the frames manually.

The meter we are reading is RSE Gen3.0
CF1 to CF21 - are considered as legacy frames as these frames belongs to Gen2.5 meter.

Thanks,
Sathappa

Profile picture for user Kurumi

Kurumi

3 years 2 months ago

In reply to Hi Mikko, Thank you. Its… by Sathappa

Hi Sathappa, May I ask in…

Hi Sathappa,

May I ask in what UNI/TS 11291-11-2 standard version CF49 is defined?

BR,
Mikko

Sathappa

3 years 2 months ago

In reply to Hi Sathappa, May I ask in… by Kurumi

Hi Mikko, i will get back to…

Hi Mikko,

i will get back to you on this with details.

Thanks

Sathappa

3 years 2 months ago

In reply to Hi Mikko, i will get back to… by Sathappa

Hi Mikko, There are 2…

Hi Mikko,

There are 2 standards,
UNI/TS 11291-11-2
UNI/TS 11291-12-2

Compact Frame 49 (CF49) is defined in UNI/TS 11291-12-2.

Thanks,
Sathappa

Profile picture for user Kurumi

Kurumi

3 years 2 months ago

In reply to Hi Mikko, There are 2… by Sathappa

Hi Sathappa, Thank you for…

Hi Sathappa,

Thank you for this info. The easy part is now done and UNI/TS 11291-12-2 is ordered. The Hard part is to translate it into English. :-)

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