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. 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

4 weeks 1 day 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

4 weeks 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

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

  • Sun, 02/01/2026 - 19:47
    gurux.dlms.cpp 9.0.2602.0101
  • Tue, 01/20/2026 - 10:38
    gurux.dlms.java 4.0.89
  • 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

New forum topics

  • Python GXDLMSTranslator
  • Issue with KWH Value Reading Using Gurux DLMS Library.
  • CEWE Prometer 100
  • Kaifa Meter Communication via Android Application
  • OnePassDiffieHellman Key Agreement Not Working in GXDLMSDirector GUI
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin