Gurux.DLMS.Client.Example.VB Unacceptable frame.

2 posts / 0 new
Last post
jediace
Gurux.DLMS.Client.Example.VB Unacceptable frame.

Hi
I have this error "Unaccemptable frame"

I use VS 2017 vb.net window 10
Landis+Gyr COM4 DLMS

in GXDLMSDirector i can connect and i read all values:

http://www.gurux.fi/sites/default/files/styles/thumbnail/public/forum/LA...

in cmd prompt:
<p>C:\Users\Mondo Idro\Desktop\TEST CONTATORE>Gurux.DLMS.Client.Example.VB.exe /m=lgz /sp=COM4 /s=DLMS
Initializing serial connection.
Parsing UA reply succeeded.
Parsing AARE reply succeeded.
Get available objects from the device.
Disconnecting from the meter.
Unacceptable frame.
</p>
<p>
TRACE.TXT
<- 09:01:55 7E A0 07 03 21 93 0F 01 7E
-> 09:01:55 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
<- 09:01:55 7E A0 2B 03 21 10 FB AF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 02 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 1C 03 20 FF FF 80 AB 7E
-> 09:01:55 7E A0 37 21 03 30 6C 7C E6 E7 00 61 28 A1 09 06 07 60 85 74 05 08 01 02 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 0F 04 0D 08 00 06 5F 1F 04 00 18 02 20 09 60 FA 00 0A A8 7E
<- 09:01:55 7E A0 11 03 21 10 A7 3F E6 E6 00 05 01 02 FA 08 18 9E 7E
-> 09:01:56 7E A0 0C 21 03 97 3E 21 10 22 08 29 D6 7E
<- 09:01:56 7E A0 07 03 21 53 03 C7 7E
-> 09:01:56 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 3E 07 04 00 00 00 01 08 04 00 00 00 01 07 22 7E
</p>

I try:
<p>
C:\Users\Mondo Idro\Desktop\TEST CONTATORE>Gurux.DLMS.Client.Example.VB.exe /u

C:\Users\Mondo Idro\Desktop\TEST CONTATORE>Gurux.DLMS.Client.Example.VB.exe /m=lgz /sp=COM4 /s=DLMS /a=None
Initializing serial connection.
Parsing UA reply succeeded.
Parsing AARE reply succeeded.
Get available objects from the device.
Disconnecting from the meter.
Unacceptable frame.

C:\Users\Mondo Idro\Desktop\TEST CONTATORE>Gurux.DLMS.Client.Example.VB.exe /m=lgz /sp=COM4 /s=DLMS /a=None /pw=*****
Initializing serial connection.
Parsing UA reply succeeded.
Parsing AARE reply succeeded.
Get available objects from the device.
Disconnecting from the meter.
Unacceptable frame.

C:\Users\Mondo Idro\Desktop\TEST CONTATORE>Gurux.DLMS.Client.Example.VB.exe /m=lgz /sp=COM4 /s=DLMS /a=Low /pw=*****
Initializing serial connection.
Parsing UA reply succeeded.
Disconnecting from the meter.
Connection is permanently rejected. Authentication failure.

C:\Users\Mondo Idro\Desktop\TEST CONTATORE>Gurux.DLMS.Client.Example.VB.exe /m=lgz /sp=COM4 /s=DLMS /a=High /pw=****
Initializing serial connection.
Parsing UA reply succeeded.
Disconnecting from the meter.
Unacceptable frame.

C:\Users\Mondo Idro\Desktop\TEST CONTATORE>Gurux.DLMS.Client.Example.VB.exe /m=lgz /sp=COM4 /s=DLMS /a=High /pw=**** /client=12
Initializing serial connection.
Parsing UA reply succeeded.
Disconnecting from the meter.
Unacceptable frame.

C:\Users\Mondo Idro\Desktop\TEST CONTATORE>Gurux.DLMS.Client.Example.VB.exe /m=lgz /sp=COM4 /s=DLMS /pw=**** /client=16
Initializing serial connection.
Parsing UA reply succeeded.
Parsing AARE reply succeeded.
Get available objects from the device.
Disconnecting from the meter.
Unacceptable frame.

C:\Users\Mondo Idro\Desktop\TEST CONTATORE>Gurux.DLMS.Client.Example.VB.exe /m=lgz /sp=COM4 /s=DLMS /pw=**** /client=16 /server=1
Initializing serial connection.
Parsing UA reply succeeded.
Parsing AARE reply succeeded.
Get available objects from the device.
Disconnecting from the meter.
Unacceptable frame.
</p>

the log.txt file is empty

Kurumi
Kurumi's picture

Hi jediace,

I check this and example was using very old version from Gurux.DLMS.Net component. I updated it to the GitHub. Get the latest version from there or you can update it by your self.

Select project and settings and select "Manage NuGet Packages". Update example to use the latest version.

BR,

Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi