Skip to main content
Home
for DLMS smart meters

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 muraligowda980…, 5 December, 2025

Incomplete Firmware Upgrade Process

Forums
Gurux DLMS for ANSI C

Hi,

I am trying to perform firmware upgrade to the meter, using the C source code available in github by modifying the code slightly.

Modifications:-
1. Commented all objects read. Post connection establishment, i have called imageupdatefromfile() function.

By muraligowda980…, 2 December, 2025

DLMS Stack hang during Firmware Upgrade

Forums
Gurux DLMS for ANSI C

Hi,

I am trying to update the meter firmware using GuruxDLMS.c library. I am able to establish connection with the meter in Firmware Upgrade mode. Post this, while i am trying to read Image transfer enable status, block size and image transferred block status, meter isn't responding for the one of the TX sent by stack and stack is hanging in com_read function while returning with DLMS_ERROR_CODE_RECEIVE_FAILED error.

Request you let me know what could be the reason.

Please find below details for your analysis.

By jack 001, 1 December, 2025

Itron SL7000 load profile return error

Forums
Gurux DLMS for ANSI C

Hi Mikko, i am back working on the itron meter data reading. I created new forum post because i can't reply on the old one. 
After trying out the update, the issue on reading Itron SL7000's load profile (0.0.99.1.0.255) still persists
- if i read capture objects first (index 3), it returns error 13 : DLMS_ERROR_CODE_ACCESS_VIOLATED
- if i read without it, it returns error 258 : DLMS_ERROR_CODE_INVALID_PARAMETER, but i can see some data in the traces, and i can use GXDLMSTranslator to translate and get the data

By dlmsDeveloper, 15 November, 2025

gurux.c testing with gxdlmsdirector ctt test

Forums
Gurux DLMS for ANSI C

Hi,

I use Gurux.c library and when i tested it with gxdlmsdirector ctt test
The Communication is ok between this two (Device and Software)
But when software was sent only this :

7e a0 2f 00 02 0e d3 03 10 5e 66 e6 e6 00 c8 1e
30 00 00 00 0c 63 a9 c6 fe 56 8e 96 a8 9f fe ed
1b c9 a9 a3 15 20 64 85 be 96 2f 07 00 c8 b8 6e
7e

By Pablob, 22 October, 2025

svr_handleSetRequest2 not working correctly

Forums
Gurux DLMS for ANSI C

Hi,

I’ve been working with the GURUX library for ANSI C and ran into an issue.

When I try to set the value of an object class_id = 1 and an attribute of type OCTET_STRING, I’ve noticed the following:

If I read the object first and then set it, inside svr_postWrite(dlmsSettings* settings, gxValueEventCollection* args) I get args->size == 1.

If I don’t read first and I write directly, then in the same function args->size == 0, which means no post-processing happens after the write.

By jack 001, 21 October, 2025

Profile Generic Read by Range returned an error despite data exist on Itron SL7000

Forums
Gurux DLMS for ANSI C

Hi Mikko, good day.

I have with me an Itron SL7000 meter. Using correct parameters I can connect to it and read some data using Gurux DLMS Director. I managed to read the daily load profile by range. Then i try to read using ESP32. I can connect to it using ESP32, but when i try to read load profile by range, the code throws some errors. Here's the code that i use:

By srikanthj, 20 October, 2025

invocation counter issue

Forums
Gurux DLMS for ANSI C

Hello,

I have two variants of energy meters. I have taken the GuruxDLMSDataCollector example for dlms client integration in my MCU. One of the meter is working fine reading obis profiles without "update Invocation counter". But another meter needs Invocation counter this i verified with Gurux director so it needs "Invocation counter". So can you provide a piece of code for my micro controller for to read "Update Invocation counter".
It's urgent if possible can you provide me ASAP.

Regards,
Srikanth Jogi.

By Pablob, 17 October, 2025

Defining a Structure on server

Forums
Gurux DLMS for ANSI C

Hello.

Im triying to create a COSEM object class_id = 1 (DLMS_OBJECT_TYPE_DATA) of type structure. This structure will contain 4 different values. First 2 of them will be uint32 and last 2 will be int32.

The way i'm creating this object is the following:

gxData myMEASURES;
static dlmsVARIANT vUA, vIA, vPA, vQA;
uint32_t g_rmsUA, g_rmsIA;
int32_t g_rmsPA, g_rmsQA;
#define MAX_MEASURES 4
static dlmsVARIANT arrElements[MAX_MEASURES];
static variantArray arrBuf;

By Jay zhai, 14 October, 2025

DLMS Porting zephyr RTOS Sample Tutorial

Forums
Gurux DLMS for ANSI C

Hello, I'm very sorry to disturb you. I'm currently encountering a lot of problems when porting zephyr using your C source code. I would like to ask if your company has sample documents for porting zephyr projects that you can refer to me.Thank you very much

By srikanthj, 7 October, 2025

Facing issue while reading Loadprofile and billing profiles

Forums
Gurux DLMS for ANSI C

Hii,

I integrated dlms-client to one of micro controller using the reference of "GuruxDLMSDataCollector" and i am able to read Name plate and instantaneous profiles. But i tried to read billing and daily Load profiles but not able to reading . what i observed is the TX packet is not generating correct packet. But other two Profile generic data types Name plate and Instantaneous i got the correct data from meter.
So could you please help to overcome to read this daily load and billing profile.

Thanks & Regards
srikanth Jogi

Pagination

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

Hire Us!

Latest Releases

  • Tue, 12/02/2025 - 10:21
    gurux.dlms.c 9.0.2512.0201
  • Mon, 12/01/2025 - 13:55
    Gurux.DLMS.Python 1.0.193
  • Thu, 11/13/2025 - 15:23
    Gurux.DLMS.Python 1.0.192
  • Thu, 11/13/2025 - 14:55
    gurux.dlms.java 4.0.84
  • Wed, 10/29/2025 - 08:51
    gurux.dlms.c 9.0.2510.2901

New forum topics

  • Incomplete Firmware Upgrade Process
  • SNRM byte mening
  • P384 Client Certificate incorrect issuer CN
  • Confirmed push service support
  • DLMS Stack hang during Firmware Upgrade
More

Who's new

  • tlavuvu
  • radu
  • amelara
  • stasxol
  • Shaheer Tariq
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin