We tried to follow your description about the pre-established connection:
https://www.gurux.fi/comment/30809#comment-30809
As we understand it, in this mode the meter should continuously send data to the client, and the client should just listen without establishing the connection itself.
A few things are unclear:
Server side (C code example)
How much and what exactly would you recommend changing in the C server example to support pre-established mode?
From what I understand, we need to add specific objects to the server code. Is that correct?
Does the current server implementation already support pre-established mode, or do we need to implement this logic ourselves?
Client side
Which client library/version supports pre-established connections, which example code we should use for this?
Do we need to modify the client code to handle this mode, or will it work with the existing client implementation as long as the server is configured correctly?
Thank you in advance for the clarification.