Meter is Disconnecting successful but while reconnecting it is throwing exception as
"ServiceError Read exception. Service Unsupported"
the request : {7E A0 25 61 03 52 D9 C0 E6 E7 00 CF 82 00 15 30 00 00 00 03 4A CC A2 70 EA D9 F1 48 D7 C8 F5 6E 50 4C 0A A4 DA FE 7E}
replay : {0E 05 03 02}
while (!Client.GetData(rd, reply, notify))
{
p.Reply = null;
if (notify.IsComplete && notify.Data.Data != null)
{
//Handle notify.
if (!notify.IsMoreData)
{
if (notify.PrimeDc != null)
{
OnNotification?.Invoke(notify.PrimeDc);
Console.WriteLine(notify.PrimeDc);
}
else
{
//Show received push message as XML.
string xml;
GXDLMSTranslator t = new GXDLMSTranslator(TranslatorOutputType.SimpleXml);
t.DataToXml(notify.Data, out xml);
OnNotification?.Invoke(xml);
Console.WriteLine(xml);
}
notify.Clear();
continue;
}
}
while reading data packet
Hi, Did you close the…
Hi,
Did you close the connection and read the invocation counter? With the most of meters, there can be only one active connection at a time.
Some meters need some time before establishing a new connection. Will it work if you wait e.g. 20 seconds before establishing a new connection?
BR,
Mikko