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 Vinas, 12 January, 2026

addition of new object in object list, meter not working

Forums
Gurux DLMS for ANSI C

hi, am new in DLMS community.

this is my object lis.

gxObject* ALL_OBJECTS[] = {
BASE(association),
BASE(ldn),
BASE(hdlc),
BASE(clock1),
BASE(activePowerL1), BASE(voltageR), BASE(currentR), BASE(frequency),
};

below is the association view for this list

By andale8592, 19 December, 2025

GuruxDLMS.c: Method index might be less than zero in Italy Standard

Forums
Gurux DLMS for ANSI C

Hi,
is there support to negative method index (in the italian standard) in https://github.com/Gurux/GuruxDLMS.c?

Thansk,
Alessandro

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;

Pagination

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

Hire Us!

Latest Releases

  • Wed, 01/14/2026 - 14:29
    Gurux.DLMS.Python 1.0.196
  • Mon, 12/29/2025 - 10:38
    Gurux.Serial.Android 3.0.5
  • Mon, 12/15/2025 - 08:11
    Gurux.DLMS.Net 4.0.87
  • Fri, 12/12/2025 - 08:38
    Gurux.DLMS.Python 1.0.195
  • Thu, 12/11/2025 - 13:22
    Gurux.DLMS.Python 1.0.194

New forum topics

  • 6-digit field values from meter not fully received (only 5 digits shown)
  • Gurux DLMS Android App
  • AMR support for bidirectional meters.
  • addition of new object in object list, meter not working
  • old meter take to much time(l&t)
More

Who's new

  • FRANCISCO
  • Supun Ellewela
  • Mario
  • brianmon
  • dejanm
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin