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

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
Gurux DLMS/COSEM Protocol Component.

Image
By Prakash , 10 August, 2022

Saving AssociationView to file in GuruxDLMS.c

Forums
Gurux.DLMS

Hi,

The function com_getAssociationView is supposed to read from the file if it exists, else read from meter and save to file. But it is not saving to the file even though 58 objects were read from the meter. Upon inspecting I found that CURRENT_ASSOCIATION[0] is null. Please let me know how to save to the file.

Sample code:
int ret = com_open(&con, port);

By ali_bahal , 10 August, 2022

GXDLMSLimiter MonitoredValue does not bind

Forums
Gurux.DLMS

hi, when I'm reading GXDLMSLimiter object, it's MonitoredValue attribute does not bind and returns null.
I checked packets and it contains data correctly.

7E A0 1C 00 02 76 71 03 32 98 1F E6 E6 00 C0 01 C1 00 47 00 00 11 00 00 FF 02 00 9B 28 7E
7E A0 22 03 00 02 76 71 52 D8 51 E6 E7 00 C4 01 C1 00 02 03 12 00 03 09 06 01 00 16 07 00 FF 0F 02 87 51 7E

By ali_bahal , 10 August, 2022

UnacceptableFrame

Forums
Gurux.DLMS

meter returns UnacceptableFrame frame when reading with List.
do you have any idea about this ?

By AlexKuk , 9 August, 2022

How to configure authorization C++

Forums
Gurux.DLMS

Hi!

Can you give me some example of authorization.
- How can I add a new user.
- How can I set access to a register, cuz I tried to do like this:
RegPointer->SetAccess(2, DLMS_ACCESS_MODE_AUTHENTICATED_READ);
But it still was available even without authorization.

By ravichandra99 , 9 August, 2022

Gurux.DLMS.Client.Example.python

Forums
Gurux.DLMS

Hi sir.. Im running -t Verbose and getting the hex trace as follows im getting the following error.. Pls help

By rama , 6 August, 2022

error in: implementing dlms c library on STM32F103(64Kb rom, 20kb ram) by keil compiler ver5

Forums
Gurux.DLMS

Hi,
I created a project in Keil compiler for STM32f103. i added all source and include libraries.
but when i start compile i have below errors:

Error: L6218E: Undefined symbol svr_connected (referred from dlms.o).
Error: L6218E: Undefined symbol svr_isTarget (referred from dlms.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 2 error messages.
"CubeMX\CubeMX.axf" - 2 Error(s), 9 Warning(s).
Target not created.

By danielcuellarp , 4 August, 2022

¿How to read profile generic by range?

Forums
Gurux.DLMS

Hello. I am developing a function in .NET for an Iskra MT880 meter. I have already initialized the communication with the meter and I would like to know how to obtain the data of load profile 1. Currently I have the code like this but it throws an error: "Capture objects not read"

I'm new to DLMS/COSEM and I can't understand it very well. I appreciate your help in solving the problem.

*** already solved ***

By zon7 , 4 August, 2022

Posible bug in receive method in python

Forums
Gurux.DLMS

When using the Wrapper interface, EOP is null. In that case, if there is a timeout, the __findData method should return a -1 value.
The problem is that at the end of the method (line 232 in _GXSynchronousMediaBase) the if nSize == 0 is always true so foundPosition value is overwritten and results in an infinite loop.
I don't know how to solve it.

Thanks

By ikudryav , 4 August, 2022

FW upgrade using Python

Forums
Gurux.DLMS

Hi Mikko,

I am trying to upgrade meter firmware but am stuck with the block size issue.

Here is the simple code, which was in another topic:

tr = GXDLMSImageTransfer
imageBlockValue = # Read this from the file.
frames = tr.imageBlockTransfer(client, imageBlockValue, None)

So, the question is how to read imageBlockValue from the file. I check description details in Blue Book but it is still not clear how to do it in Python library.

It could be nice to have a Python example for the firmware upgrade.

Thank you,
Ilya

By achim , 4 August, 2022

Which object returns the displayed energy on the smart meter

Forums
Gurux.DLMS

i am using the python example and getting the following

[Trace removed.]

No i have figured how to use python3 main.py -S /dev/ttyUSB0 -t Verbose -r sn -g "1.1.1.8.1.255:2" to get the value now i am not sure which object i should select to get the current meter energy reading displayed

Pagination

  • Previous page
  • 53
  • Next page
Gurux.DLMS
  • 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

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More

Who's new

  • JosephNok
  • IUJbutxeSTSNcNRN
  • Peraturaidetetug
  • NnmIomcqcTDVWiDuCD
  • iRnseovnShdVWR…
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin