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. Forums
  3. Director_RA Command Error

Director_RA Command error

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By dafeng0908 , 10 March, 2016
Forums
DLMSDirector

I use Mode E protocal.
In physical.req/ind Stage, I finish handshark and enter HDLC Stage.
When I receive SNRM command, and I return RA Command.
But director show "System.IO.IOException: 裝置無法辨識命令。"

how do I trace the client.GetData(p.Reply, reply)) function to find my bug?

-----------------------------------------------------------------------------------------
//Loop until whole COSEM packet is received.
while (!client.GetData(p.Reply, reply))
{
//If Eop is not set read one byte at time.
if (p.Eop == null)
{
p.Count = 1;
}
if (!media.Receive(p))
{
//Try to read again...
if (++pos != tryCount)
{
System.Diagnostics.Debug.WriteLine("Data send failed. Try to resend " + pos.ToString() + "/3");
continue;
}
string err = "Failed to receive reply from the device in given time.";
GXLogWriter.WriteLog(err, p.Reply);
throw new Exception(err);
}
}

Profile picture for user Kurumi

Kurumi

10 years 6 months ago

Director_RA Command error

Hi,

Can you send trace to me? We can check what is wrong in your data.
You can get my contact info from here:
http://www.gurux.fi/AboutUs

BR,

Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701

New forum topics

  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
More

Who's new

  • 7095384824
  • koltom
  • palso
  • VigneshwaranC1993
  • Yousef Al-Saye…
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin