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 , 23 November, 2021

How to convert Byte Array to CGXDLMSVariant?

Forums
Gurux.DLMS

Hi, Mikko!

I have QByteArray with data. I know type of this data. I need to convert it to CGXDLMSVariant.
I try:
uint16_t intVar = 333;
int len_intVar = sizeof(intVar);
QByteArray a;
a.resize(len_intVar);
memcpy(a.data(), &intVar, len_intVar); //convert to QByteArray
-------
// from QByteArray
CGXByteBuffer b;
b.Set(a.data(), a.size());
CGXDLMSVariant v(b);
v.ChangeType(DLMS_DATA_TYPE_UINT16);
But v is not equal 333.

By Virus , 17 November, 2021

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

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.

By manuel , 16 November, 2021

Invalid HDLC frame: 0x10 Expected: 0x30 when connecting with terminal

Forums
Gurux.DLMS

Hi all,

could you please tell me what I am doing wrong?

Reading out general data with the client address 16 (without password)
works fine but when I am using the followed command in Command prompt of Gurux.DLMS.Client.Example.python it fails.

python main.py -S COM6 -r sn -c 1 -a Low -P [Password] -t Verbose

By Dmitry , 15 November, 2021

Memory leak in GXHelpers.cpp

Forums
Gurux.DLMS

Hi, Mikko!
Please, look in functions int GetString() and int GetUtfString() in GXHelpers.cpp.

tmp = new char[len];
and than delete tmp;
But need delete [] tmp;

Thanks!

By zon7 , 11 November, 2021

Filtering spontaneous messages

Forums
Gurux.DLMS

Hello.
We are playing with a device (server) that is able to geneate data by its own. As this is a TCP connection, we are using WRAPPED mode. The thing is that the meter generates a message and to identify it, the device is using serverAddress=0 for these messages. Is there a way to filter them so they do not end in the general buffer?
As I'm using GXNet, all data is received and stored in the __handleReceivedData method and even if I use a listener, I'm notified but the data remains in the buffer. What should be my approach?

By Sang-Guk Jeong , 11 November, 2021

Does Gurux support dlms standard edition 3.0?

Forums
Gurux.DLMS

I'm going to use Gurux.c. Does Gurux support the latest dlms standards for UA certification?
Please let me know the standard and edition list supported by Gurux.

By slip81 , 9 November, 2021

HLS Authentication and UpdateSecret

Forums
Gurux.DLMS

Hi,

I'm trying to change High authentication level password (using C# .NET Gurux library), there's a specific method for this in class GXDLMSAssociationLogicalName:

public byte[][] UpdateSecret(GXDLMSClient client)

I found mentioning of using this method here:
https://www.gurux.fi/comment/10669#comment-10669

By wildstray , 30 October, 2021

ESP32 and Arduino IDE, cannot compile

Forums
Gurux.DLMS

Hello there,
please could you help me with Gurux.DLMS.c on Arduino IDE? I already read all posts on this topic, used git (master) version, my Arduino IDE is 1.8.16. I'm trying to compile on ESP32, no way :-(
Board selected: ESP32 Dev Module, Library: esp32 1.0.6

#include <Arduino.h>
#include <GXDLMSClient.h>

gxByteBuffer frameData;

By Yasin TOPAL , 26 October, 2021

Itron SL7000 FF2 error code

Forums
Gurux.DLMS

The FF2 value we see on the meter screen and the FF2 value we read from with software the meter are different from each other. What is the reason of this?

Meter LCD Screen: 0005C1900

Read by software: 80028AC08

Note: We query with the code 0.0.97.97.2.235 with the software.

By Dmitry , 20 October, 2021

Problem with get data CGXDLMSProfileGeneric on server side

Forums
Gurux.DLMS

Hi, Mikko!

I try to capture CGXDLMSProfileGeneric and read it with DLMSDIrector.
Here my code:
std::string name("0.0.94.7.138.255");
CGXDLMSProfileGeneric* lst = new CGXDLMSProfileGeneric(name);
lst->SetAccess(2, DLMS_ACCESS_MODE::DLMS_ACCESS_MODE_READ);
lst->SetAccess(3, DLMS_ACCESS_MODE::DLMS_ACCESS_MODE_READ);
lst->SetCapturePeriod(0);

Pagination

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

  • CorwXGlcWwyuiJawypxb
  • Vegazone-Casin…
  • VegaZone-lBit
  • Vegazone-Sverige-Fug
  • UIRlLOZQoyTZHC…
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin