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.
Hi, You have misunderstood…
Hi,
You have misunderstood this. Pre-established connection means that connection settings are defined, and the client can read/write values from the meter without establishing the connection to the meter.
You need to add objects to the meter.
GuruxDLMSServerExample2 implements Pre-establish connection, Check associationHighGMacPreEstablished association.
All clients are supporing pre-establish connection. You need to set the server system title for the client.
client.ServerSystemTitle = "METER SYSTEM TITLE"
Each meter must have its own unique system title.
BR,
Mikko