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.
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.
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.
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.
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
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.
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
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