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

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin