Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. Regarding Meter Reconnection Using Gurux .NET In C#

Regarding Meter Reconnection using Gurux .NET in C#

By sirishalv72@gm…, 25 November, 2024
Forums
Gurux.Net

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

Profile picture for user Kurumi

Kurumi

1 year ago

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

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 12/02/2025 - 10:21
    gurux.dlms.c 9.0.2512.0201
  • Mon, 12/01/2025 - 13:55
    Gurux.DLMS.Python 1.0.193
  • Thu, 11/13/2025 - 15:23
    Gurux.DLMS.Python 1.0.192
  • Thu, 11/13/2025 - 14:55
    gurux.dlms.java 4.0.84
  • Wed, 10/29/2025 - 08:51
    gurux.dlms.c 9.0.2510.2901

New forum topics

  • Incomplete Firmware Upgrade Process
  • SNRM byte mening
  • P384 Client Certificate incorrect issuer CN
  • Confirmed push service support
  • DLMS Stack hang during Firmware Upgrade
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin