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 Techapirant , 29 October, 2019

Error in cross compiling

Forums
Gurux.DLMS

Hello,

I am trying to cross compile DLMS ANSI C stack files using arm-arago-linux-gnueabi/gcc compiler.
When I create obj and lib directories in development folder and run make command I am getting error as
Error In
src/client.c : In function 'cl_getApplicationAssociationRequest':
error: 'dlmsVARIANT' has no member named 'byteArr' at line 245

Can you please tell me how can I cross compile ?

By walter , 28 October, 2019

Gurux DLMS commands

Forums
Gurux.DLMS

Hi Mikko, All,

I'm working on Gurux Libraries from git.
I'd to get/read the DLMS request command before its encryption and before it'll be send to the meter.
Could you please suggest how or where I can find this info? For instance the name of the function which manage the DLMS request command creation may be very helpful.

Thank you in advance.

By Techapirant , 25 October, 2019

Read Profile Generic Buffer in C

Forums
Gurux.DLMS

Hello,

How to read specific profile genric register buffer in C ?
Say For example I want to read buffer of profile generic variable 1.0.99.1.0.255 and print all the values which com_read(x,2) will result.

By lofna , 24 October, 2019

I got AARQRequest failed 252

Forums
Gurux.DLMS

Hi,
I am using Sprint 350 established the connection via serial port and got the below
error.
----------------------------------------------------------

InitializeConnection
AARQRequest failed 279.

cat trace.txt

By lmishra92 , 18 October, 2019

Convert Bytearray to Datetime

Forums
Gurux.DLMS

I am receiving the datetime as a bytearray from the meter. How can I convert it into a Python datetime object?

By Techapirant , 18 October, 2019

Error! Failed to read first row

Forums
Gurux.DLMS

Hello,

I am using .Net Gurux Client Example and trying to read Profile Generic (1.0.99.1.0.255) over TCP/IP
Wrapper mode but It results error as Error! Failed to read first row Access denied Read write where as with same configuration over DLMS Director it works.
Can You please tell me what else I have to do in case of .Net Client Example ?

By klem_ai , 18 October, 2019

Gurux python library parameters for hex meter

Forums
Gurux.DLMS

Hello,

I have been able to successfully read the meter with the parameters set as shown in the image below. I am now trying to read the meter using a raspberry pi and the gurux python library. how do i pass in the right parameters to get this to work.

Thanks

By TaeSoo_Han , 17 October, 2019

About segmentation problem of Activity Calendar day profile

Forums
Gurux.DLMS

Dear Sir,

I checked read-method of TGXP Program and found it same of GetObjectsRequest to get sender data to meter.

When I send Activity Calendar data day profile ( array, structure of unsigned, Structure of octet string and long unsigned) to get responding data from meter, I got data using "TGXDLMSClient.GetData(reply: TBytes; data: TGXReplyData)" and it contained various kind of data like this;

resultval := Common.GetData(Reply.Data, info);
--> resultval is Tvalue data type.

Reply.Data of TGXByteBuffer is as bellows;

By SgmUsr , 16 October, 2019

client.GetData(trama, rd, new GXReplyData()) false though frame received is correct

Forums
Gurux.DLMS

Hi all,

I'm trying to comunicate with my smart meter locally but sometimes when I receive frame and try to do "Client.GetData(p.Reply, reply)" to decrypt the frame, this method return false and I receive in system console "Invalid HDLC Frame: 52. Expected: 32", though frame I received is correctly decrypted.

(Now I'm not using "void ReadDataBlock(byte[] data, GXReplyData reply)" because I don't understand the method Client.ReceiverReady(reply.MoreData), but I'm only using Serial.Send() and Serial.Receive().)

By lmishra92 , 15 October, 2019

Repeated Timeout Exceptions

Forums
Gurux.DLMS

I am trying to use the Gurux.DLMS.Client.Example.python to connect to one of my meters. I am passing in the host, port, authentication, client address and server address.

Everytime I run

```python main.py -h <host> -p <port> -P <passsword> -c 1 -s 1 -a low```

I get the exceptions shown in the attached file. Basically it is a timeout exception.

Pagination

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

  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
  • 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
More

Who's new

  • SgwTHoQsOQXBixXP
  • omOOQJmnOZZWWf…
  • Wooplke djoole…
  • Duaneduh
  • ClaytonPap
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin