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. Push Objects Aren't Parsed

Push objects aren't parsed

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 hhkx , 12 October, 2020
Forums
Gurux.DLMS

Hi,

I have a push message. First data has the push object list, so I can parse it like in the push listener example.

Ch 0. Push Setup (0.0.25.9.0.255)
Objects:
PushSetup 0.0.25.9.0.255
Clock 0.0.1.0.0.255
Data 0.0.42.0.0.255
ProfileGeneric 1.0.99.1.0.255

The Profile Generic object has Clock and other registers.

Capture Objects:
Clock 0.0.1.0.0.255
Register 1.0.1.8.0.255
Register 1.0.2.8.0.255
Register 1.0.3.8.0.255
Register 1.0.5.8.0.255
Register 1.0.7.8.0.255
Register 1.0.8.8.0.255

However, listener doesn't parse the clock inside the Profile Generic object. Please see below.

(I believe "B+QKBQEKAAAA/8SA" part is the clock inside Profile Generic)
I am not sure about the null fields, perhaps the meter doesn't push it because it is clock.

The problem here is "B+QKBQEKAAAA/8SA" part. How can I parse it?

[Trace removed]

hhkx

5 years 8 months ago

Any idea?

Any idea?

Profile picture for user Kurumi

Kurumi

5 years 7 months ago

Hi,

Hi,

Can you add raw hex data that the meter sends in push message here? We can check this on Monday.

BR,
Mikko

hhkx

5 years 7 months ago

2020-10-17 12:34:29.3580 -

Here is the full log.

[Trace removed]

hhkx

5 years 7 months ago

Hi Mikko,

Hi Mikko,

Have you had any chance to have a look at it already?

Profile picture for user Kurumi

Kurumi

5 years 7 months ago

Hi Aaron,

Hi Aaron,

You need to add capture object for profile generic. You can add them to the push message or to the code.
Now capture objects are unknown so parsed doesn't know what to do.

Something like this:

GXDLMSProfileGeneric pg = new GXDLMSProfileGeneric();
client.Objects.Add(pg);
pg.CaptureObjects.Add(new GXKeyValuePair<GXDLMSObject, GXDLMSCaptureObject>(new GXDLMSClock(), new GXDLMSCaptureObject(2, 0)));
//Add other objects...

BR,
Mikko

hhkx

5 years 7 months ago

Omg the method called client

Omg the method called client.ParsePushObjects is a miracle! I am very surprised how it understands and parse capture objects of the gxdlmsprofilegeneric object.

Profile picture for user Kurumi

Kurumi

5 years 7 months ago

Hi,

Hi,

You don't need the necessary sent a push object list of PushSetup. You can just send the logical name of the Push setup if you add a push object list manually as you did with profile generic.
It's also good to send Logical Device Name as a first parameter so you can identify 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