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. Forums
  3. How To Parse DLMS Ciphered Push Data (Compact Format) Which Is Sent From Meter To Remote UDP Server.

How to parse DLMS ciphered push data (Compact Format) which is sent from meter to remote UDP server.

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By osman.demirci , 19 June, 2021
Forums
Gurux DLMS for Java

Hi all;

I have developed a server which listen 6001/UDP port then i set that the listened host and port to DLMS meter device using DLMS director. I set a scheduler to meter. The defined expression is "*/*/3000 12:00:00".

One day later; when i checked the server console, i saw a message like below.

Message Content (HEX)
==================
000100010001006edb08ef0c00520000100363300000011d184945793224d9ae958d07314e5a2b3261626a94847331204ef7ed6a89b1b3352a0243355de3d7b740f26f76ba725ad08eefa2e71a160b35bac8db0f2098f18c8e38f8fc8109d28ccbcdff02384d9521eaebe3b0e2a6ce9d934d230a41d1
=================

The message above translated with DLMS director has been as follows.

<WRAPPER len="118" >
<TargetAddress Value="1" />
<SourceAddress Value="1" />
<PDU>
<!-- Decrypt data: 0F 00 00 00 08 00 02 01 09 48 30 60 CC 5F 15 5F 47 01 01 00 BC 00 49 6C 00 00 00 00 76 00 00 00 00 03 60 CC 1A 42 4C 00 00 00 00 76 00 00 00 00 60 C9 77 41 4C 20 00 00 00 6C 00 00 00 00 60 CA C8 C1 4C 00 00 00 00 76 00 00 00 00 00 00 00 00 00 00
<data-notification>
<long-invoke-id-and-priority>8</long-invoke-id-and-priority>
<date-time></date-time>
<notification-body>
<data-value>
<structure>
<octet-string>3060CC5F155F47010100BC00496C0000000076000000000360CC1A424C00000000760000000060C977414C200000006C0000000060CAC8C14C000000007600000000000000000000</octet-string>
</structure>
</data-value>
</notification-body>
</data-notification>
-->
<general-glo-ciphering>
<system-title>EF0C005200001003</system-title>
<ciphered-content>300000011D184945793224D9AE958D07314E5A2B3261626A94847331204EF7ED6A89B1B3352A0243355DE3D7B740F26F76BA725AD08EEFA2E71A160B35BAC8DB0F2098F18C8E38F8FC8109D28CCBCDFF02384D9521EAEBE3B0E2A6CE9D934D230A41D1</ciphered-content>
</general-glo-ciphering>
</PDU>
</WRAPPER>

I have two questions for related above section.

1 - Is there a way or method convert the XML content that especiasly is demostrated in comment tags to java object definition in GuruxDLMS java.

2- How to get meter identity information data such as meter serial number, meter flag code etc from the message.

Thanks a lot.

Profile picture for user Kurumi

Kurumi

4 years 11 months ago

Hi,

Hi,

1. You can use GXDLMSTranslator messageToXml or dataToXml -methods.
You should check the listener example. It will do what you want to do.
https://github.com/Gurux/gurux.dlms.java/tree/master/gurux.dlms.push.li…

2. DLMS standard doesn't define what kind of data meter must send and in what order. So content of the data depends on the meter.

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

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin