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.
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
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.
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
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.
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
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?
Hi, Because customers haven…
Hi,
Because customers haven't requested DataCollector for ESP32, there is no such example available at the moment.
BR,
Mikko