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. Using GXDLMS To Create and Read Image(packets To Send/receive)

Using GXDLMS to create and read image(packets to send/receive)

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 Virus , 17 November, 2021
Forums
Gurux.DLMS

Good day

I have application (win32) that works with IEC commands reading Load Profile and Billing Data.
It can use Network, USB and Modem.

After meter connection and <ACK>202 meter in dlms mode, how do I create correct message to send via Network( send(socket, message, messageLength,0)) and how to interoperate received data.

I want to read Landis Gyr meter Registers one at a time.

Profile picture for user Kurumi

Kurumi

4 years 6 months ago

Hi,

Hi,

IEC 62056-21 and DLMS/COSEM are different procols.
http://www.gurux.fi/DLMSCOSEMFAQ

In DLMS you don't just read the value, you need first to establish the connection to the meter before you can read anything. I strongly propose that you use Gurux Open Source libraries to read your meter if you need to use DLMS. DLMS is not an easy protocol where you just send a message and get a reply.

BR,
Mikko

Virus

4 years 6 months ago

In reply to Hi, by Kurumi

I want to use the GuruX Open

I want to use the GuruX Open Source libraries to read meter after establishing TCP connection.
Is there a way to hand a socket over to GuruX libraries after succesfull connection and then do readings?

Profile picture for user Kurumi

Kurumi

4 years 6 months ago

Hi,

Hi,

Gurux libraries only generate and parse the data. You need to send the generated bytes using a communication channel that you like. In this case TCP/IP or UDP. Check the client example it will do what you want to do.

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