Hi
I want to Relay Disconnect and Reconnect the Meter.
I tried the following code.
val disc = GXDLMSDisconnectControl("0.0.96.3.10.255")
val reply = GXReplyData()
val reconnect = readDLMSPacket2(disc.remoteReconnect(mClient), reply)
print(reconnect)
Thread.sleep(20)
val disconnect = readDLMSPacket2(disc.remoteDisconnect(mClient), reply)
print(disconnect)
But it is not working. Kindly guide me where it is wrong. Thanks.
Hi, Your code looks correct…
Hi,
Your code looks correct. Check your authentication level and that you have correct access rights to disconnect control.
You can try to call disconnect control with GXDLMSDirector first.
BR,
Mikko