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 For ANSI C

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<br />
Gurux <b>DLMS/COSEM for ANSI C</b> Protocol Component.

By abk964 , 26 March, 2025

how to serialize and load dlmsSettings.objects ?

Forums
Gurux DLMS for ANSI C

I need save and load my dlmsSettings.objects (at client side).
Saving AssociationView as in example keep types and names only.
I can save whole details via ser_loadObjects2 directly as array, but to load it i need no now count and types of objects before loading.
How to load saved array from scratch?

By VirendraN , 17 March, 2025

Can I add OBIS codes and functionality in GuruxDLMSServerExample for L1,L2,L3 for Voltage and Current intead use of Datacollector

Forums
Gurux DLMS for ANSI C

I have build GuruxDLMSServerExample and GuruxDLMSClientExample. I am not using GuruxDLMSDataCollector. So can I add directly L1,L2,L3 for Voltage and Current related oBIS codes and its functionality in GuruxDLMSServerExample .I can see ActivePowerl1 added in server example

By abk964 , 20 February, 2025

build errors

Forums
Gurux DLMS for ANSI C

Hi!

By srikanthj , 29 January, 2025

Facing issue while reading meter data using DLMS C application

Forums
Gurux DLMS for ANSI C

Hii Mikko,

I successfully compiled Gurux Dlms C application and got binary and tried to run the binary and i got below logs:

root@arm:~/Gurux-reading/GuruxDLMS.c/GuruxDLMSClientExample/bin# ./gurux.dlms.client.bin -S /dev/ttymxc2 -i WRAPPER -t Verbose
InitializeConnection

TX: 00 01 00 10 00 01 00 1F 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 40 1E 1D FF FF

Data send failed. Try to resend 1/3

Data send failed. Try to resend 2/3

Data send failed. Try to resend 3/3

By technoshell , 27 January, 2025

Arduino ESP32 Client Setup

Forums
Gurux DLMS for ANSI C

Dear Sir,

I downloaded the latest Arduino version from Gurux github and using the client code to read DLMS India Standard meter. I am using it for ESP32 DEv board.
While compiling on Visual Studio Code I get a error as under

"message": "cannot open source file \"avr/pgmspace.h\" (dependency of \"GXDLMSClient.h\")",

Can you suggest what can be done to remove the error?

Thanks and Regards
ASP

By SARATH_FAWSTECH , 22 January, 2025

Read data from energy meter using arduino and optical port

Forums
Gurux DLMS for ANSI C

i want to read energy consumption data from my linkwell AC static kWh meter using arduino. I have the optical reader with me. Can anyone give me a example project to get start. It was very urgent.

By technoshell , 22 January, 2025

Secure Meter Handling after error

Forums
Gurux DLMS for ANSI C

Dear Sir,

I am using Arduino ESP32 Client code to read Secure Meter Sprint 350 using Optical cable.
I observed sometimes during testing either the probe is moved or erroneus data goes the meter keeps on giving error ever after. What is the method to bring back the meter in default state. How to issue disconnect command?

Thanks and Regards
ASP

By technoshell , 22 January, 2025

Reading Serial Number from Secure Meter

Forums
Gurux DLMS for ANSI C

Dear Sir,

I am trying to read the Make Serial Number of Secure Meter Model Sprint 350 by Arduino ESP32. I am able to read the Mfr Name Obis code 0.0.96.1.1.255 with no issues but if I use the same code for Serial number I get a error to the extent that ESP32 restarts

The code is

cosem_init(BASE(ldn), DLMS_OBJECT_TYPE_DATA, "0.0.96.1.0.255"); // Serial No
com_read(BASE(ldn),2);
obj_toString(BASE(ldn), &data);
strcpy(str,data);
Serial2.print(str);

Soon I run this I get a error and ESP32 restarts.

By Joe0x7F , 7 January, 2025

Example code for changing HLS-5 keys?

Forums
Gurux DLMS for ANSI C

Hi Mikko,

Do you have example code for changing HLS-5 keys or at least resetting them to all zeros?

Thanks!

By Joe0x7F , 31 December, 2024

skeleton c/cpp example code to Connect to Holley meter using HLS-5/GMAC?

Forums
Gurux DLMS for ANSI C

Hi Mikko,

I hope you had or are having a very good holiday season if you celebrate.

I need to develop a c/cpp Linux program that will Connect to/Read Object/Disconnect from a Holley DLMS meter using HLS-5/GMAC.

I was able to perform these functions successfully with DLMSDirector, as described in thread https://www.gurux.fi/node/25689.

Do you have a good skeleton c/cpp example program that will perform at least the Connect (HLS-5/GMAC) function that I can use to start my development?

Pagination

  • Previous page
  • 6
  • Next page
Gurux DLMS for ANSI C
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501
  • 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

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