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. Gurux.DLMS

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.

Description

Questions and comments about
Gurux DLMS/COSEM Protocol Component.

Image
By alvaromemo , 17 February, 2024

Can´t compile C++ GuruxDLMSClientExample using make

Forums
Gurux.DLMS

Hi, i just download the latest git hub repository and try to compile the example provided but it failed.

When i run *make* it complains about the /bin and /obj folders. I manually create it. Then when i repeat the *make* it shows:

Compiled src/GuruxDLMSClientExample.cpp successfully!
usr/bin/ld: cannot find -lgurux_dlms_cpp: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [makefile:27: bin/gurux.dlms.client.bin] Error 1

I am using g++

By MetersGuru , 16 February, 2024

Print of decrypted messages.

Forums
Gurux.DLMS

Hi there. I wanted to ask a question about the messages encryption.
When we are using the VERBOSE trace, the messages are printed in their encrypted format, but we were wondering if there was some kind of option that let us see the decrypted message as well (while still maintaining the encrypted exchange).
I'm talking about the Python library but also about the Director (we are aware of the translation option inside the Director but the value is still displayed in its encryption state).
Thank you in advance.

By batulzii , 16 February, 2024

connecting to dual clients. optical & NIC

Forums
Gurux.DLMS

Hello,
Is Gurux stack can manage connection to more than one clients at the same time? for example, meter has optical port and NIC mesh. both are could connected at the same time. Server has singular clientSAP. Do you have sample code?
Thanks and Best Regards!

By dvosp , 15 February, 2024

ESP32 assert in cl_clear

Forums
Gurux.DLMS

Hi

I'm using DLMS.c on an ESP32. I can do register reads without issue, but I get an assert in cl_clear. Below the code

uint16_t srv = cl_getServerAddress(1, 7662, 0);

cl_init(&settings, 1, 1, srv, DLMS_AUTHENTICATION_LOW, "12345678", DLMS_INTERFACE_TYPE_HDLC);

By batulzii , 14 February, 2024

limiter constantly fire script

Forums
Gurux.DLMS

Hello,
limiter constantly fire script, but need switch off relay once. please, advice
Thanks,

By RSAAlanNewham , 14 February, 2024

Reading a meter using Data identities

Forums
Gurux.DLMS

Hi Everyone.

I'm no means a programmer so forgive me if I'm battling to understand something fundamental with the DLMS protocol.

I've used data identities to read the profile data from other types of meters with the IEC protocol, and I can read the ZMD meters profile data using the optical head (which from my understanding using a IEC handshake).

I'm not sure how to do this via the DLMS software?

This my example using the IEC protocol:

By Pablo1610 , 12 February, 2024

DLMS PDU fails

Forums
Gurux.DLMS

Hi,

I'm using the DLMS C stack for a DLMS server, and I'm getting an error related to the PDU size. I get the not enough memory available when I ask from the DLMS director for a profile generic.

I have configured the DLMS server as the following sentece, where the PDU size is 1024, and the wrapper size is 8 + PDU_SIZE (1032)

svr_init(&settings, 1, DLMS_INTERFACE_TYPE_WRAPPER, WRAPPER_BUFFER_SIZE, PDU_BUFFER_SIZE, tcp_ipframeBuff, WRAPPER_BUFFER_SIZE, pduBuff, sizeof(pduBuff));

By batulzii , 12 February, 2024

svr_run does not provide demand register processing

Forums
Gurux.DLMS

Hello,
i could not found demand register log and serialize/save (file) in the server samples. Need to write svr_demend()?
Please, advice.
BR,

By MetersGuru , 9 February, 2024

Bug in the Limiter 'emergency_profile_group_id_list' write

Forums
Gurux.DLMS

Hi there. I was using the Python library alongside the GuruX Director and I stumbled upon a bug when trying to write the Limiter 'emergency_profile_group_id_list' attribute.

Basically both the Python library and the GuruX Director write the wrong values for that attribute. You can replicate it very easily on both sides.

My Python version is 3.10
My Director version is 9.0.2311.1001

I'll leave here both logs so you can see the problem from that as well.
The array I am trying to write is: [1, 2, 3, 4]

By farsight , 6 February, 2024

Translating XML from messageToXml() back to HDLC frame

Forums
Gurux.DLMS

Hello everyone,

I'm currently using (https://github.com/Gurux/gurux.dlms.java/tree/master/gurux.dlms.simulat…) for the smart meter simulator and I connect to it using GXDLMS Director. I can successfully read and translate all the HDLC frames that the simulator is printing on the terminal using the messageToXml() function from GXDLMSTranslator in python.

Pagination

  • Previous page
  • 29
  • Next page
Gurux.DLMS
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More

Who's new

  • RussiaTraveler…
  • GFDiQMrQASSkKl…
  • oLtbbWaRQMvErs…
  • Rolling Slots
  • Vegazone-Australia
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin