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. Reading Pushed COSEM Object From Tcp Server (data Frames)

Reading pushed COSEM Object from tcp server (data frames)

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 soheil , 27 December, 2019
Forums
General discussion

Hi.
i can connect to meter with GXDLMSDirector via serial port.
i then push some register to a specific IP (that our server IP) and i can read its pushed values

it has some byte probably showing status header, clock, register, ... and every thing i selected to push and many 0 afterward
its 127 byte (my configured packet was of size 127)

but i cant decode these bytes, i don't know what they mean each.

i get these values from TCP server i made for testing

i realized (after pushing some different registers and clock) that there is clock byte in status and i can see the clock bytes what i wanted a document on how can i decode if i change the pushed value and what they mean or how many bytes do each value used

i cant push values if their size is big (like all COSEM objects), if i pushed for example 8 registers i cant but if i push like 7 in will do it and i will get some bytes followed by some 0.

is there any document on what are these bytes and how can i decode them?
i searched jDLMS library but i couldn't find decoding part.

can you tell me how can i decode them and what they means individual

thanks in advance
(sorry for poor english)

Profile picture for user Kurumi

Kurumi

6 years 5 months ago

Hi,

Hi,

You can configure what you want to send in Push messages, so there is no simple answer.
The structure of the push message depends on what you have configured to send in push message.

You can use GXDLMSClient.GetData to parse push message.

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