Skip to main content
Home
for DLMS smart meters

Main navigation

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

Breadcrumb

  1. Home
  2. Push Listener and Translate The Push Message Error

Push listener and translate the push message error

By Bela, 26 March, 2025
Forums
Gurux DLMS for Java

Hi there,

I have a project to read push messages and trying to figure out what is in the message. I have found the gurux translator, and I faced an issue with this.

After the translate, I wanted to parse the given xml but I got this exception:
[Fatal Error] :49:13: The element type "structure" must be terminated by the matching end-tag "</structure>".

There was a structure element without ending. It is a known issue with the translator?
Or is there any other tool to get the data from the byte stream? Or is there any chance to get the translated data in object/json or any more managable format?

Here is the xml:
<!-- Data length is 182 and there are 951 bytes. -->
<WRAPPER len="190" >
<TargetAddress Value="1" />
<SourceAddress Value="102" />
<PDU>
<data-notification>
<long-invoke-id-and-priority>2</long-invoke-id-and-priority>
<!-- 3/26/25, 6:58:14 PM -->
<date-time>07E9031A03103A0EFF003C00</date-time>
<notification-body>
<data-value>
<structure>
<long-unsigned>0</long-unsigned>
<long-unsigned>0</long-unsigned>
<long-unsigned>0</long-unsigned>
<long-unsigned>0</long-unsigned>
<long-unsigned>0</long-unsigned>
<long-unsigned>0</long-unsigned>
<array>
<structure>
<!-- 2/14/24, 2:50:13 PM -->
<octet-string>07E8020E030C320DFF003C00</octet-string>
<enum>85</enum>
<!-- xxx -->
<octet-string>xxx</octet-string>
</structure>
<structure>
<!-- 2/14/24, 2:49:37 PM -->
<octet-string>07E8020E030C3125FF003C00</octet-string>
<enum>79</enum>
<!-- xxx -->
<octet-string>xxx</octet-string>
</structure>
<structure>
<!-- 2/13/24, 2:20:10 PM -->
<octet-string>07E8020D020C140AFF003C00</octet-string>
<enum>85</enum>
<!-- xxx -->
<octet-string>xxx</octet-string>
</structure>
<structure>
<!-- 2/13/24, 2:19:22 PM -->
<octet-string>07E8020D020C1316FF003C00</octet-string>
<enum>79</enum>
<!-- xxx -->
<octet-string>xxx</octet-string>
</structure>
<structure>
</array>
</structure>
</data-value>
</notification-body>
</data-notification>
</PDU>
</WRAPPER>

Profile picture for user Kurumi

Kurumi

1 year ago

Hi, Have you checked the…

Hi,

Have you checked the push listener example?

https://github.com/Gurux/gurux.dlms.java/tree/master/gurux.dlms.push.li…

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 04/14/2026 - 11:47
    gurux.dlms.java 4.0.93
  • Mon, 04/13/2026 - 16:12
    gurux.dlms.java 4.0.92
  • Mon, 04/13/2026 - 11:39
    Gurux.DLMS.Net 9.0.2604.1301
  • Tue, 04/07/2026 - 17:17
    Gurux.DLMS.Python 1.0.197
  • Tue, 04/07/2026 - 15:03
    gurux.dlms.c 9.0.2604.0701

New forum topics

  • Connecting To iskrameco ME382- Single Phase Meter with Optical Probe
  • Create custom AARQ Request for encrypted communication
  • Issue when reading Itron Type620 meter
  • Handling Unexpected Disconnects
  • DLMS Communication Issue – No Response (L&T Meter via USB Probe)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin