Skip to main content
Home
for DLMS smart meters

Main navigation

  • Home
  • Products
  • About us
  • Open Source
  • Community
  • Forum
  • Downloads
User account menu
  • Log in

Breadcrumb

  1. Home
  2. The Client Instance Code Failed To Connect To The Electricity Meter For Authentication

The client instance code failed to connect to the electricity meter for authentication

By Jay zhai, 29 October, 2025
Forums
General discussion

Hello, I'm currently encountering a situation where I'm using the official version of the.c client source code to read the electricity meter data, but the reading keeps failing.
The all-0 key I set when using the GXDLMSDirector client can be read normally,However, use https://github.com/Gurux/GuruxDLMS.c/tree/948da08617e623f5e3f6dd3dab9ad… appear error.
This is my execution order:
sudo ./bin/gurux.dlms.client.bin \ -S /dev/ttyUSB0 -c 32 -s 1 -r LN \ -a HighGmac -C Authentication \ -v 0.0.43.1.2.255 \ -T 484C592D474D4143 \ -A 00000000000000000000000000000000 \ -B 00000000000000000000000000000000 \ -t Verbose

The following is my error message:
TX: 7E A0 07 03 21 93 0F 01 7E
RX: 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
TX: 7E A0 2B 03 21 10 FB AF 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 40 1E 1D FF FF E7 25 7E
RX: 7E A0 37 21 03 30 6C 7C E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 12 1C 01 90 00 07 7E 7B 7E
TX: 7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 C1 00 01 00 00 2B 01 02 FF 02 00 0B B6 7E
RX: 7E A0 15 21 03 52 5D 8A E6 E7 00 C4 01 C1 00 06 00 00 00 6B A8 C5 7E
Invocation counter: 108 (0x6C)
TX: 7E A0 07 03 21 53 03 C7 7E
RX: 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E InitializeConnection
TX: 7E A0 07 03 41 93 5A 64 7E
RX: 7E A0 1E 41 03 73 8E 7F 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
TX: 7E A0 6B 03 41 10 19 DC E6 E6 00 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 48 4C 59 2D 47 4D 41 43 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 12 80 10 70 38 9C CE 67 B3 59 AC 56 AB 55 2A 15 8A 45 22 BE 23 04 21 21 1F 10 00 00 00 6C 01 00 00 00 06 5F 1F 04 00 40 1E 1D FF FF 62 67 FD 5B 7D 9C 42 9E 7F C4 90 6A C8 7D 7E
RX: 7E A0 5A 41 03 30 4A 6B E6 E7 00 61 4C A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 01 A3 05 A1 03 02 01 01 A4 0A 04 08 48 4F 4C 00 0C EC 4F 83 88 02 07 80 89 07 60 85 74 05 08 02 05 AA 12 80 10 0C 88 B5 41 7C 7D 2B DA CD D0 24 8A 4D 7A DE C3 BE 06 04 04 0E 01 06 02 A6 F0 7E
AARQRequest failed No reason given.
TX: 7E A0 07 03 41 53 56 A2 7E
RX: 7E A0 1E 41 03 73 8E 7F 81 80 12 05 01 C8 06 01 C8 07 04 00 00 00 01 08 04 00 00 00 01 AC B3 7E
No reason given.

I've tried methods like modifying counters,Please give me the right way

Profile picture for user Kurumi

Kurumi

3 months 2 weeks ago

Hi, The meter returns…

Hi,
The meter returns IncompatibleConformance. I don't know if that's the real error or if your block cipher key differs from the meter key.

Check your block cipher and authentication keys first. They MUST be the same as the meter is using.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Sun, 02/01/2026 - 19:47
    gurux.dlms.cpp 9.0.2602.0101
  • Tue, 01/20/2026 - 10:38
    gurux.dlms.java 4.0.89
  • Wed, 01/14/2026 - 14:29
    Gurux.DLMS.Python 1.0.196
  • Mon, 12/29/2025 - 10:38
    Gurux.Serial.Android 3.0.5
  • Mon, 12/15/2025 - 08:11
    Gurux.DLMS.Net 4.0.87

New forum topics

  • Asynchronous support in Gurux DLMS stack (.NET)?
  • Multiple meter loop On OFF Problem
  • Python GXDLMSTranslator
  • Issue with KWH Value Reading Using Gurux DLMS Library.
  • CEWE Prometer 100
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin