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. Forums
  3. Failed To Read Clock Object From Ciphered Meter

Failed to read clock object from ciphered meter

Forum Rules

Before commenting read Forum rules

Don't comment the topic if you have a new question.

You can create a new topic selecting correct category from Gurux Forum and then create a new topic selecting "New Topic" from the top left.

By Mohanraj , 30 April, 2020
Forums
General discussion

Hi Mikko,

We have now ciphered meter and trying to read clock object but failed.

below is the command and trace. Since there is no parameter for sending cipheredkey and authentication key i have modifed code as per below

/**************Added by Mohan for ciphered meter******************************************/
bb_clear(&con.settings.cipher.systemTitle);
bb_addString(&con.settings.cipher.systemTitle,"XXXXXXXX");
bb_clear(&con.settings.cipher.blockCipherKey);
bb_addString(&con.settings.cipher.blockCipherKey,"XXXXXXXXXXXXXXXXXXX");
bb_clear(&con.settings.cipher.authenticationKey);
bb_addString(&con.settings.cipher.authenticationKey,"XXXXXXXXXXXXXXXXXXX");
/******************************************************************************************/

please rerfer the mail that i have shared yesterday for the keys

./bin/gurux.dlms.client.bin -S /dev/ttyUSB0 -c 48 -s 1 -a High -P "0000000001035820" -C "AuthenticationEncryption" -g "0.0.0.1.0.255:1" -v "0.0.43.1.2.255" -t "Verbose" -I
updateInvocationCounter
TX: 7E A0 07 03 21 93 0F 01 7E
RX: 7E A0 07 03 21 93 0F 01 7E 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 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 00 1E 1D FF FF C5 E4 7E
RX: 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 00 1E 1D FF FF C5 E4 7E 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 00 10 02 30 00 07 B2 6C 7E
TX: 7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 81 00 01 00 00 2B 01 02 FF 02 00 0E 7B 7E
RX: 7E A0 19 03 21 32 6F D8 E6 E6 00 C0 01 81 00 01 00 00 2B 01 02 FF 02 00 0E 7B 7E 7E A0 15 21 03 52 5D 8A E6 E7 00 C4 01 81 00 06 AC 14 86 1C 77 0E 7E
Invocation counter: -1407941091 (0xFFFFFFFFAC14861D)
TX: 7E A0 07 03 21 53 03 C7 7E
RX: 7E A0 07 03 21 53 03 C7 7E 7E A0 1E 21 03 73 C3 7A 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
InitializeConnection
TX: 7E A0 07 03 61 93 69 47 7E
RX: 7E A0 07 03 61 93 69 47 7E 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
TX: 7E A0 6B 03 61 10 2A FF E6 E6 00 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 41 42 43 44 45 46 47 48 8A 02 07 80 8B 07 60 85 74 05 08 02 02 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 30 AC 14 86 1D 7E 8A 8F C8 43 B0 08 0C E2 F7 4F 78 8B F8 63 F3 59 A2 C4 E4 21 10 2C 01 61 54 51 43 7E
RX: 7E A0 6B 03 61 10 2A FF E6 E6 00 60 5D A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 41 42 43 44 45 46 47 48 8A 02 07 80 8B 07 60 85 74 05 08 02 02 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 30 AC 14 86 1D 7E 8A 8F C8 43 B0 08 0C E2 F7 4F 78 8B F8 63 F3 59 A2 C4 E4 21 10 2C 01 61 54 51 43 7EAARQRequest failed Send failed.
TX: 7E A0 07 03 61 53 65 81 7E
RX: 7E A0 07 03 61 53 65 81 7E 7E A0 1E 61 03 73 B5 7C 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E
All items are read.

Thanks
Mohan Raj

Profile picture for user Kurumi

Kurumi

6 years 3 months ago

Hi Mohan ,

Hi Mohan ,

Please, don't create several topics from the same question. I believe that your client address is wrong.
Use US, not PUSH address.

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

  • Possible memory leak in file dlms.c, getCompactArrayItem(), getCompactArrayItem2()
  • Official Gurux.DLMS.Client.Example.Net fails during High GMAC secure association (Invalid PDU), while Gurux Director connects successfully
  • gurux_dlms.GXDateTime.GXDateTime object Error in Python
  • T_APPL_DATA_LN_N1 subtest 3 fails on an LN-only server regardless of the response to a non-existing-object GET
  • Version mismatch between Gurux.DLMS 9.x and Gurux.Common/Gurux.Serial 8.x
More

Who's new

  • NarayanDangi
  • jebNNbevKYNMITOUy
  • KadokTen
  • xMjAupjsfUDybB…
  • GWcVnqgDuqbcJvFIAoke
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin