We based all our tests on the Gurux DLMS library for ANSI C, especially the Gurux DLMS server example 2 playing the role of the meter (server).
We faced some issues concerning the Profile Generic (interface class id = 7), especially in the reading services.
However, the latest release number "20200610.1", we noticed in the file "gxget.c" in the function "cosem_getProfileGeneric" that you replaced this block of code (check the picture):
After these changes, each time we try to read, the GXDLMSDirector throws an error: "Access Error: Device reports a hardware fault". We are not able to read anymore.
When, i tried to run the old section of code that you replaced, it is running with some issues surely but we can read normally by index and by range.
We want to know why did you do these changes?
Do you intend to implement a new code instead and solve the reading issues?
The reason for this is that this is usually used in microcontrollers and it's easier to convert to different compilers. We are making one more change and split COSEM object to own file.
Hi,
Hi,
We have made changes and update the server example today.
BR,
Mikko
Hi,
Hi,
You said yesterday that you have made changes and update the server example. But I noticed that there are no new release committed.
Just want to make sure if you have any problem.
Hi Lara,
Hi Lara,
Testing was taking a little bit longer and new version is released. Get the latest version.
Hi Mikko,
Hi Mikko,
Thank you for your work, much appreciated.
However, I noticed that you merged the "exampleserver.c" and "connection.c" of GuruxDLMSServerExample2 into "main.c".
Can you please explain why you made these changes?
Hi,
Hi,
The reason for this is that this is usually used in microcontrollers and it's easier to convert to different compilers. We are making one more change and split COSEM object to own file.
BR,
Mikko