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. Debug Not Allowed

debug not allowed

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.

By Alessia , 28 October, 2019
Forums
Gurux.Net

Good evening,
I'm trying to understand how the Gurux builds the DLMS/COSEM message.
I'm debugging the project available on Github (https://github.com/Gurux/Gurux.DLMS.Net/tree/master/Gurux.DLMS.Client.E…) and I receive the error message in attachment and I can't debug the project. (I'm using VS2019)
I would like to know which Gurux's function gives me the message to send on my Smart Meter.

Thanks in advance.
Regards,
Alessia

Image
Profile picture for user Kurumi

Kurumi

6 years 9 months ago

Hi Alessia,

Hi Alessia,

You have modified the source code and Visual Studio can't continue. Reject changes and start debugging again.

BR,

Mikko

Alessia

6 years 9 months ago

Hi Mikko,

Hi Mikko,
I resolve this problem. Could I ask you also which function gives me the DLMS packet to send on my device? Is it necessary to establish a connection with the device?
I ask you that because I would like to create a DLMS packet and send it later on different devices. These devices have all the same properties, just the Serial port is different. Is it possible?

Thank you,
Alessia

Profile picture for user Kurumi

Kurumi

6 years 9 months ago

Hi Alessia,

Hi Alessia,

DLMS is a very complicated protocol. There is a sequence number that is increased every time when a new message is sent. There is no one function that generated the message and you have to establish a connection to the device before you can read anything.

BR,
Mikko

Alessia

6 years 9 months ago

Hi Mikko,

Hi Mikko,
I noticed that GXDLMDirector sends one SetRequest for each value that I changed. Is it possible to send a SetRequestWithList?
I try to explain me better: I would like to send on my media one message for changing two values of one obis. Is it possible? if yes, which Gurux function I have to use?

Thanks,
Alessia

Profile picture for user Kurumi

Kurumi

6 years 9 months ago

Hi Alessia,

Hi Alessia,

SetRequestWithList is not supported at the moment in GXDLMSDirector because there are so many meters that don't support it. I'll have to think about how we can add support to it and serve old meters as well.

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

  • 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

  • lSWJjpXlxakMRV…
  • Thomasqto
  • Uka Ibe
  • CTKNhZElptjSlOrpkXl
  • YCbccqfLGRMnlCWoJhXP
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin