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. Node
  3. Read LDN

Read LDN

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 miacovella , 28 June, 2016
Forums
Gurux.DLMS

I'm tryng to read LDN drom a meter .
The APDU Text generate from Gurux C# is:
7e a0 19 03 21 54 5f de e6 e6 00 c0 01 81 00 00 00 00 2a 00 00 ff 02 00 ea 00 7e
No response.

But the ic class must be set at "01":
The correct sequence is:
7e a0 19 03 21 54 5f de e6 e6 00 c0 01 81 00 01 00 00 2a 00 00 ff 02 00 17 4d 7e
and the response is:
7e a0 22 21 03 74 ba d5 e6 e7 00 c4 01 81 00 09 10 53 4d 47 52 30 33 36 31 31 36 30 32 39 33 34 36 cf 31 7e
The source is:

GXDLMSObject oggetto = new GXDLMSObject();
oggetto.LogicalName = "0.0.42.0.0.255";

DataType tipo = DataType.OctetString;
oggetto.SetDataType(2, tipo);

Object x = comm.Read(oggetto, 2);
where
comm = new GXCommunicatation(dlms, media, iec, auth, pw);

Can you help me?

Profile picture for user Kurumi

Kurumi

10 years 2 months ago

Read LDN

Hi,

I do not know this meter. You should try to read Association view first. It will return all the objects what meter can offer.

You can read your object changing
GXDLMSDataObject oggetto = new GXDLMSDataObject("0.0.42.1.0.255")

BR,

Mikko

miacovella

10 years 2 months ago

In reply to Read LDN by Kurumi

Where is the GXDLMSDataObject

Where is the GXDLMSDataObject ? (in Gurux.dlms/Object i find only GXDLMSObject.cs).
Thanks

Profile picture for user Administrator

Administrator

10 years 2 months ago

Where is the GXDLMSDataObject

Hi,

Sorry, it was typo. Use GXDLMSData object.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • 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
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • 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
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More

Who's new

  • cyby
  • Metin Onan
  • ssv007
  • 3nzol3dur
  • dw772
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin