we are able to do remote disconnect using the function disconnection().
could you please tell how to remote reconnect? what is the procedure and steps? could you please provide some sample code like disconnection function
For remote reconnect you can do just changing method index from 1 to 2. Like this:
ret = cl_method(&connection->settings, BASE(dc), 2, ¶ms, &messages);
Hi,
Hi,
Check this for remote disconnect:
http://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSDisconnectControl
For remote reconnect you can do just changing method index from 1 to 2. Like this:
ret = cl_method(&connection->settings, BASE(dc), 2, ¶ms, &messages);
BR,
Mikko
Hi Mikko,
Hi Mikko,
Thank you so much. its working
Thanks
Mohan Raj