I am having trouble reading CLOU meter over GPRS, it returns an Invalid client after communication is established.
Here's the code I am using:
GXDLMSSecureClient client = new GXDLMSSecureClient(true, 0x0001, 0x0001, Authentication.None, null, InterfaceType.WRAPPER);
//client.Password = GXDLMSTranslator.HexToBytes("12345678");
//client.ServerAddress = 1;
//client.ClientAddress = 16;
//client.InterfaceType = InterfaceType.WRAPPER;
client.Ciphering.Security = Security.Encryption;
client.Ciphering.SystemTitle = GXCommon.HexToBytes("4D4D4D0000BC614E");
client.Ciphering.BlockCipherKey = GXCommon.HexToBytes("000102030405060708090A0B0C0D0E0F");
client.Ciphering.AuthenticationKey = GXCommon.HexToBytes("D0D1D2D3D4D5D6D7D8D9DADBDCDDDEDF");
Application output below:
Disconnecting from the meter.
Invalid client.
Client 105.112.235.36:11707 is connected.
Send AARQ request
TX:
11:12:52 AM
00 01 00 01 00 01 00 3F 60 3D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 4D 4D 4D 00 00 BC 61 4E 8A 02 07 80 8B 07 60 85 74 05 08 02 00 BE 17 04 15 21 13 20 00 00 00 00 69 48 AF 77 68 5
Disconnecting from the meter.
Invalid client.
Client 105.117.1.134:9231 is connected.
Send AARQ request
TX: 11:13:00 AM
00 01 00 01 00 01 00 3F 60 3D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 4D 4D 4D 00 00 BC 61 4E 8A 02 07 80 8B 07 60 85 74 05 08 02 00 BE 17 04 15 21 13 20 00 00 00 00 69 48 AF 77 68 5
Disconnecting from the meter.
Invalid client.
Thread finished: <Thread Pool> #126
Thread started: <Thread Pool> #129
Client 105.112.114.164:31780 is connected.
Send AARQ request
TX: 11:13:09 AM
00 01 00 01 00 01 00 3F 60 3D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 4D 4D 4D 00 00 BC 61 4E 8A 02 07 80 8B 07 60 85 74 05 08 02 00 BE 17 04 15 21 13 20 00 00 00 00 69 48 AF 77 68 5
Disconnecting from the meter.
Invalid client.
Thread finished: <Thread Pool> #127
Client 105.112.231.247:30907 is connected.
Send AARQ request
TX:
11:13:17 AM
00 01 00 01 00 01 00 3F 60 3D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 4D 4D 4D 00 00 BC 61 4E 8A 02 07 80 8B 07 60 85 74 05 08 02 00 BE 17 04 15 21 13 20 00 00 00 00 69 48 AF 77 68 5
Disconnecting from the meter.
Invalid client.
Thread finished: <Thread Pool> #128
Client 105.117.0.208:27549 is connected.
Send AARQ request
TX: 11:13:24 AM
00 01 00 01 00 01 00 3F 60 3D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 4D 4D 4D 00 00 BC 61 4E 8A 02 07 80 8B 07 60 85 74 05 08 02 00 BE 17 04 15 21 13 20 00 00 00 00 69 48 AF 77 68 5
Disconnecting from the meter.
Invalid client.
Thread started: <Thread Pool> #130
Client 105.112.122.33:15732 is connected.
Send AARQ request
TX: 11:13:33 AM
00 01 00 01 00 01 00 3F 60 3D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 4D 4D 4D 00 00 BC 61 4E 8A 02 07 80 8B 07 60 85 74 05 08 02 00 BE 17 04 15 21 13 20 00 00 00 00 69 48 AF 77 68 5
Disconnecting from the meter.
Invalid
Hi, Please, don't add images…
Hi,
Please, don't add images. It's impossible to read the hex string from the picture.
Add this as plain text and I can check it.
BR,
Mikko
I have updated the question…
I have updated the question by removing the image
Hi, There is only part of…
Hi,
There is only part of the message. The payload size is 63 bytes, but there are only 55 bytes.
BR,
Mikko