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. Gurux DLMS DataCollector Issue

Gurux DLMS DataCollector Issue

By Sravanti, 9 September, 2025
Forums
Gurux.DLMS

Hi Kurumi,

We have implemented Gurux DLMS Server at ESP32 using Arduino. Created different objects, able to read write the attributes. Its working properly.
Now we are trying to incorporate DLMS Client for GuruxDLMS datacollector in the existing DLMS Server in ESP32. We want both DLMS client and server in ESP32.
We included all the libraries related to DLMS Client as well. But getting compilation errors. In file Arduinoignore.h #define DLMS_IGNORE_MALLOC if we enable this statement getting errors related to Client libraries, if this statement is commented getting errors related to server code. We want both server and client DLMS without any compilation issues.
Do we need any other modifications as well?
Please let us know. we are struck with this errors.

Thank you.

Profile picture for user Kurumi

Kurumi

5 months 1 week ago

Hi, The client-side…

Hi,

The client-side implementation needs malloc. Each meter is different, and there is no way the client knows what data the meter returns, so you must use malloc.

BR,
Mikko

Sravanti

5 months 1 week ago

Thank you kurumi for the…

Thank you kurumi for the response. I just want to know how I can incorporate both DLMS server and DLMSclient in single workspace. If I include both I am getting compilation issues with MALLOC in arduinoignore.h

Please let me know if anything we are missing.

Profile picture for user Kurumi

Kurumi

5 months 1 week ago

Hi, You need to comment or…

Hi,

You need to comment or remove #define DLMS_IGNORE_MALLOC in Arduinoignore.h file. There are a few compiler errors in the example project that you must handle if you want to use malloc.

BR,
Mikko

Sravanti

5 months 1 week ago

Thank you for the suggestion…

Thank you for the suggestion again.
Can I get any example code for both DLMSServer and DLMSClient in single workspace using ESP32 and arduino?
I tried resolving the compilation errors still its not working.

Could you please help us with this. As we want to execute both DLMS client and server parallely.

Profile picture for user Kurumi

Kurumi

5 months 1 week ago

Hi, Customers haven't…

Hi,

Customers haven't requested a gateway application like this, so I'm unable to estimate when it can be implemented.

BR,
Mikko

Sravanti

5 months 1 week ago

Thank you for the quick…

Thank you for the quick response once again.

Can we get any example code for DataCollector which is supported using ESP32 using arduino?

Profile picture for user Kurumi

Kurumi

5 months 1 week ago

Hi, Because customers haven…

Hi,

Because customers haven't requested DataCollector for ESP32, there is no such example available at the moment.

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

  • Landisgyr meter
  • GxDateTime always return DayOfWeek as FF
  • Asynchronous support in Gurux DLMS stack (.NET)?
  • Multiple meter loop On OFF Problem
  • Python GXDLMSTranslator
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin