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. Unable To Connect Meter With HDLC and Serial Number

Unable to connect meter with HDLC and Serial number

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 Stier , 2 March, 2016
Forums
Gurux.DLMS

Hi guys!

Within the version 8.x.x.x of the Gurux.DLMS.Net I'm unable to connect to a L+G E650 (CU E65C - TCP/IP) with HDLC addressing and a serial number. I was able to connect the meter with the DLMSDirector (Version 7) with a serial number. As I upgraded to DLMSDirector (Version 8) the connection always runs into a timeout (Failed to receive reply from the device in given time).

Some research in the Gurux.DLMS.Net showed me, that there are many (useful) changes in the version 8.x.x.x of this assembly. Am I missing something, that the addressing with serial number does not work anymore? Regarding to the fact, that I was unable to connect the meter with DLMSDirector as I upgraded from 7 to 8, this is may be a bug.

Thanks for your help!

Profile picture for user Kurumi

Kurumi

10 years 3 months ago

Unable to connect meter with HDLC and Serial number

Hi,

Can you send serial number of your meter and trace from first message (SNRM). We will check this.

BR,

Mikko

Stier

10 years 3 months ago

In reply to Unable to connect meter with HDLC and Serial number by Kurumi

I'm using the following

I'm using the following information:
Serial number: 51327728
Server Address: 8728 (is correctly translated from serial number with the formula "SN%10000+1000")
SNMR packet: 7E-A0-08-88-31-21-93-50-A5-7E

In your documentation (http://www.gurux.fi/DLMSIntro) I saw that the SNMR packet is generated from "ClientID, ServerID and UseLogicalName", but the generated SNMR packet is always the same, doesn't matter if "UseLogicalName" is true or false.
In this matter I'm not using an authentication, so I use 16 as ClientID.

thank you for your effort.

Profile picture for user Kurumi

Kurumi

10 years 3 months ago

Unable to connect meter with HDLC and Serial number

Hi,

UseLogicalName is not used in SNRM message. You can set it after SNRM message is sent,
but it's good not to change it after initialization is done,

Your meter wants that serial number size is four bytes. It can fix in two and this is the reason.
We will find a way and release fix for this in new version.

BR,

Mikko

Stier

9 years 4 months ago

In reply to Unable to connect meter with HDLC and Serial number by Kurumi

Hey Mikko,

Hey Mikko,

It's already a few month since I last was active on implementing DLMS interface. I deal now with the latest version of the gurux libraries, and I just wanna confirm that the problem with the HDLC is resolved. I found another problem, but I'll open a new post for that.

Best regards,
Andrea

  • 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

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin