There is an issue with the meter. The meter returns that the maximum receive frame size is zero in UA frame and this is an invalid value. This basically means that the meter can only send push messages and can't receive any data from the client.
You should info the meter vendor about this.
You can handle this error if you manually set MaxInfoTX like this before you call AARQRequest:
Hi,
Hi,
There is an issue with the meter. The meter returns that the maximum receive frame size is zero in UA frame and this is an invalid value. This basically means that the meter can only send push messages and can't receive any data from the client.
You should info the meter vendor about this.
You can handle this error if you manually set MaxInfoTX like this before you call AARQRequest:
_settings.Client.HdlcSettings.MaxInfoTX = 512;
Hi Kurumi,
Hi Kurumi,
I have added manually the MaxInfo setting before calling AARQRequest before calling as you said.
It throws an authentication exception.
Send SNRM request.7E A0 07 03 03 93 8C 11 7E
Info: Receive-Send Waiting Time: 30 sn.
TX: 11:53:02 7E A0 07 03 03 93 8C 11 7E
! Received byte count:34
Final! Received byte count:34
RX: 11:53:02 7E A0 20 03 03 73 F0 2E 81 80 14 05 02 02 00 06 02 00 00 07 04 00 00 00 01 08 04 00 00 00 01 BB 12 7E
Parsing UA reply.81 80 14 05 02 02 00 06 02 00 00 07 04 00 00 00 01 08 04 00 00 00 01
Parsing UA reply succeeded.
Send AARQ request 7E A0 2B 03 03 10 78 BF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 5D FF FF B3 E2 7E
Info: Receive-Send Waiting Time: 30 sn.
TX: 11:53:02 7E A0 2B 03 03 10 78 BF E6 E6 00 60 1D A1 09 06 07 60 85 74 05 08 01 01 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 00 1E 5D FF FF B3 E2 7E
! Received byte count:91
Final! Received byte count:91
RX: 11:53:03 7E A0 37 03 03 30 EF CA E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 01 A3 05 A1 03 02 01 0D BE 10 04 0E 08 00 06 5F 1F 04 00 00 18 18 01 C2 00 07 28 F0 7E
Parsing AARE reply61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 01 A3 05 A1 03 02 01 0D BE 10 04 0E 08 00 06 5F 1F 04 00 00 18 18 01 C2 00 07
Gurux.DLMS.GXDLMSException: Connection is permanently rejected. Authentication failure.
at Gurux.DLMS.Internal.GXAPDU.ParsePDU2(GXDLMSSettings settings, GXICipher cipher, GXByteBuffer buff, GXDLMSTranslatorStructure xml)
at Gurux.DLMS.Internal.GXAPDU.ParsePDU(GXDLMSSettings settings, GXICipher cipher, GXByteBuffer buff, GXDLMSTranslatorStructure xml)
at Gurux.DLMS.GXDLMSClient.ParseAAREResponse(GXByteBuffer reply)
at DLMSClient.DLMSReader.InitializeConnection() in C:\Repos\DLMSClient\DLMSReader.cs:line 71
at DLMSClient.Program.Main(String[] args) in C:\Repos\DLMSClient\Program.cs:line 331
Disconnecting from the meter.
Info: Receive-Send Waiting Time: 30 sn.
TX: 11:53:03 7E A0 07 03 03 53 80 D7 7E
! Received byte count:125
Final! Received byte count:125
RX: 11:53:04 7E A0 20 03 03 73 F0 2E 81 80 14 05 02 02 00 06 02 00 00 07 04 00 00 00 01 08 04 00 00 00 01 BB 12 7E
Okay, It has a password.
Okay, It has a password.
It is okay now. Thank you.