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. Invalid Client While Reading CLOU Meter Over GPRS

Invalid Client while Reading CLOU meter over GPRS

By Nuruddeen , 5 June, 2024
Forums
Gurux.Net

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

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

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

Nuruddeen

2 years 1 month ago

I have updated the question…

I have updated the question by removing the image

Profile picture for user Kurumi

Kurumi

2 years 1 month ago

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

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701
  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200

New forum topics

  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
  • DLMS server - serving multiple similar datasets gathered from multiple meters across distinct logical addresses
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin