Skip to main content
Home
for DLMS smart meters
Open source solutions for DLMS smart metering

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 6 months 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, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin