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. Addition of New Object In Object List, Meter Not Working

addition of new object in object list, meter not working

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

C:\Users\CNRG-IITD\smart meter\GuruxDLMS.c-master\GuruxDLMSClientExample\bin>client.exe -S COM3
InitializeConnection
GetAssociationView
-------- Reading Object AssociationLogicalName 0.0.40.0.0.255
Index: 2 Value: [AssociationLogicalName 0.0.40.0.0.255, AssociationLogicalName 0.0.40.0.1.255, Data 0.0.42.0.0.255, IECHDLCSetup 0.0.22.0.0.255, Clock 0.0.1.0.0.255, Register 1.1.21.25.0.255, Register 1.1.32.7.0.255, Register 1.1.31.7.0.255, Register 1.1.14.7.0.255]
Index: 3 Value: 0/1
Index: 4 Value: 0.0.0.0.0.0 0 0 0 5 8 1 1
Index: 5 Value: 0 0 0 0
Index: 6 Value: 0 0 05 8 2 0
Index: 7 Value: Gurux
Index: 8 Value: 2
Index: 9 Value: 00 00 00 00 00 00
Index: 10 Value: [
]

-------- Reading Object AssociationLogicalName 0.0.40.0.1.255
Index: 2 Value: [AssociationLogicalName 0.0.40.0.0.255, AssociationLogicalName 0.0.40.0.1.255, Data 0.0.42.0.0.255, IECHDLCSetup 0.0.22.0.0.255, Clock 0.0.1.0.0.255, Register 1.1.21.25.0.255, Register 1.1.32.7.0.255, Register 1.1.31.7.0.255, Register 1.1.14.7.0.255]
Index: 3 Value: 0/1
Index: 4 Value: 0.0.0.0.0.0 0 0 0 5 8 1 1
Index: 5 Value: 0 0 0 0
Index: 6 Value: 0 0 05 8 2 0
Index: 7 Value: Gurux
Index: 8 Value: 2
Index: 9 Value: 00 00 00 00 00 00
Index: 10 Value: [
]

-------- Reading Object Data 0.0.42.0.0.255
Index: 2 Value: 47 52 58 30 30 30 30 30 30 30 31 32 33 34 35 36 00
-------- Reading Object IECHDLCSetup 0.0.22.0.0.255
Index: 2 Value: 5
Index: 3 Value: 1
Index: 4 Value: 1
Index: 5 Value: 128
Index: 6 Value: 128
Index: 7 Value: 25
Index: 8 Value: 120
Index: 9 Value: 16
-------- Reading Object Clock 0.0.1.0.0.255
Index: 2 Value: 01/01/1970 00:00:00.28233 UTC+00:00
Index: 3 Value: 0
Index: 4 Value: 0
Index: 5 Value: 03/LASTDAY/* 02:00:00.28233
Index: 6 Value: 10/LASTDAY/* 03:00:00.28233
Index: 7 Value: 60
Index: 8 Value: 0
Index: 9 Value: 2
-------- Reading Object Register 1.1.21.25.0.255
Index: 3 Value: Scaler: 1000 Unit: Active energy
Index: 2 Value: 1
-------- Reading Object Register 1.1.32.7.0.255
Index: 3 Value: Scaler: 0.100000 Unit: Active power
Index: 2 Value:
-------- Reading Object Register 1.1.31.7.0.255
Index: 3 Value: Scaler: 0.001000 Unit: Current
Index: 2 Value:
-------- Reading Object Register 1.1.14.7.0.255
Index: 3 Value: Scaler: 0.010000 Unit: Frequency
Index: 2 Value:
All items are read.

.
.
.
.
.
.
.
.
But now, If I add even a single new object in this list the output is this:

C:\Users\CNRG-IITD\smart meter\GuruxDLMS.c-master\GuruxDLMSClientExample\bin>client.exe -S COM3
InitializeConnection
GetAssociationView

Data send failed. Try to resend 1/3

Data send failed. Try to resend 2/3

Data send failed. Try to resend 3/3

Data send failed. Try to resend 1/3

Data send failed. Try to resend 2/3

Data send failed. Try to resend 3/3
ReadObject failed Register 1.1.21.25.0.255:3 Data receive failed.

Data send failed. Try to resend 1/3

Data send failed. Try to resend 2/3
Release failed.Close failed.Data receive failed.
.
.
.
.
.
.
How can I resolve this issue?

Profile picture for user Kurumi

Kurumi

7 months ago

Hi, I believe that your old…

Hi,

I believe that your old settings are read from the file, and it causes this error.
Remove settings.raw or settings.hex file if you change the association view objects or append the new objects.

BR,
Mikko

Vinas

7 months ago

Hi, Actually, there are no…

Hi,

Actually, there are no such files in my project. I am working on a STM32 microcontroller with Gurux DLMS stack available on git.

Thanks

Profile picture for user Kurumi

Kurumi

6 months 4 weeks ago

Hi, Check that you have…

Hi,

Check that you have initialized those new objects. The server returns an error if the object type is not set and it's zero.

BR,
Mikko

  • 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

  • Elster a1800 clock reset to year 2000 with one tariff billing
  • Possible memory leak in file dlms.c, getCompactArrayItem(), getCompactArrayItem2()
  • Official Gurux.DLMS.Client.Example.Net fails during High GMAC secure association (Invalid PDU), while Gurux Director connects successfully
  • gurux_dlms.GXDateTime.GXDateTime object Error in Python
  • T_APPL_DATA_LN_N1 subtest 3 fails on an LN-only server regardless of the response to a non-existing-object GET
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin