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 Dmitry , 22 February, 2025

Can't compile DLMC cpp on g++ 13

Forums
Gurux.DLMS

Hi, Mikko!

I try compile DLMS cpp. In console (Linux Mint) i do:
make (in Gurux.DLMS.cpp/development/ path) but get many errors:

By JanEef , 20 February, 2025

Python GXDLMSCLient releaseRequest

Forums
Gurux.DLMS

Hi,

I'm having an issue gracefully disconnecting from a device using the python package.

When I invoke the releaseRequest the following buffer is sent to the the meter:
DEBUG:root:TX: 00 01 00 01 00 01 00 09 62 03 80 01 00 03 80 01 00

This disconnect request fails because the last 4 sections of the buffer is repeated.

Using the GXDLMSDirector application disconnect and then inspecting the logs the buffer sent by the application is:
00 01 00 01 00 01 00 05 63 03 80 01 00

By Tsveten.Kavrakov , 20 February, 2025

gurux.dlms.GXDLMSException: Invalid Exception.

Forums
Gurux.DLMS

when i call client.parseUAResponse(response); with response "7EA0230300023E2F73D577818014050200F8060200F807040000000108040000000158717E" it rises Invalid exception, but I copied this response from factory application log and this i valid. What is wrong ?

By Dmitry , 20 February, 2025

Compile errors DLMS.c

Forums
Gurux.DLMS

Hi, Mikko!

I got latest version DLMS.c but get compile errors in apdu.c:
identifier "afu" is undefined (row 1742)

identifier "DLMS_AFU_MISSING_CALLING_AUTHENTICATION_VALUE" is undefined (row 1742)

By Dmitry , 18 February, 2025

Crash in GXByteBuffer::SetPosition()

Forums
Gurux.DLMS

Hi, Mikko!

I write my meter model (server) and try connect from DLMSDirector. But i get crash on connect.

By Dmitry , 18 February, 2025

Compile errors DLMS.cpp server example

Forums
Gurux.DLMS

Hi!

I try build (linux mint) server example but get errors in functions AddDemandRegister(),
AddActivityCalendar().

if i write like this in AddActivityCalendar():
CGXDateTime dt_start1(-1, 3, 31, 0, 0, 0, 0);
pActivity->GetSeasonProfileActive().push_back(new CGXDLMSSeasonProfile("Summer time", dt_start1, ""));

CGXDateTime dt_start2(-1, 10, 30, 0, 0, 0, 0);
pActivity->GetSeasonProfilePassive().push_back(new CGXDLMSSeasonProfile("Winter time", dt_start2, ""));

By Dmitry , 14 February, 2025

check uin32_t value < 0

Forums
Gurux.DLMS

Hi, Mikko!

In DLMS.c in function:
void bi_append(bigInteger* arr, uint32_t value)
{
arr->data[arr->size] = value;
++arr->size;
arr->isNegative |= value < 0;
}

value has uint32_t type and check to < 0. Please, check it.

By andre538 , 13 February, 2025

GXDLMSIECLocalPortSetup password 1, password 2, password 5

Forums
Gurux.DLMS

Hello Mikko,

As written in GXDLMSIECLocalPortSetup definition,

/// Password 1 according to IEC 62056-21.
/// Password 2 according to IEC 62056-21.
/// Password W5 reserved for national applications.

I read IEC 62056-21 and search over it, still can't find any cases of Password 1, 2 ,W5

By kuba172 , 12 February, 2025

Connecting to more meters on the same IP address and port.

Forums
Gurux.DLMS

Is it possible in Python to simultaneously connect to two or more meters that are on the same IP address and port? So that I can keep that connection and read data from two meters at once?

Thanks in advance for your reply

By mick93 , 11 February, 2025

Unable to connect with Python, but I can with GXDLMSDirector

Forums
Gurux.DLMS

Hi, I am using meter, which is not on manufacturers (ZPA meter) list, so I added it manually. It uses HighGMAC with keys and certs. I really struggled to make it connect with the meter by GXDLMSDirector app, but I somehow managed to make it work. But after I tried it with python code, it's unable to read anything and disconnects with "Connection is permanently rejected"/"No reason is given.". Below is data after launching python code:

Pagination

  • Previous page
  • 13
  • 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

  • Mathewgon
  • MichaelCab
  • Travisrew
  • Derricklep
  • Danielsib
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin