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. HLS Mechanism_id(2)

HLS Mechanism_id(2)

By Shanmukhi , 7 March, 2024
Forums
Gurux.DLMS

After send f(ctos) we are getting Access Error : Device matched a unmatched type

we are using mechanism id (2) . we are giving password as "hello"
our AARE is passed and action request came from gurux director we can able to decrypt it

but further we are failing.

Image

Shanmukhi

2 years 4 months ago

Response from meter:7E A0 7A…

.

Shanmukhi

2 years 4 months ago

BlockCipher key: 30 31 32 33…

.

Profile picture for user Kurumi

Kurumi

2 years 4 months ago

Hi, In the log, you are not…

Hi,

In the log, you are not sending f(ctos) or password yet. Those are sent in step 3. You are just sent AARQ and the meter returns AARE that you have added.

I believe that your password is wrong.

BR,
Mikko

Shanmukhi

2 years 4 months ago

7E A0 41 00 02 04 01 61 32…

7E A0 41 00 02 04 01 61 32 16 F6 E6 E6 00 CB 30 30 00 00 00 01 F9 E1 7E D2 C1 0D 43 3C D4 96 9D B5 33 42 3F 59 F2 55 02 9D F5 E2 06 F2 BC 8C 1C 8F E7 2B 08 A7 F4 6B A7 ED 46 E3 41 E4 5C 44 F5 04 C7 7E

The above request, the meter can able to decrypt. We don't know which algorithm/mode is used in Mechanism_id(2) of GURUX.

Can you share details of the algorithm/mode used in Mechanism_id(2) of GURUX?

Profile picture for user Kurumi

Kurumi

2 years 4 months ago

Hi, High authentication is a…

Hi,

High authentication is a problem because DLMS specification does not specify details of the HLS mechanism. Indian standard uses Aes-128 for High authentication, so Gurux DLMS libraries are also using Aes-128 for High authentication.

BR,
Mikko

Shanmukhi

2 years 4 months ago

Hi Thank you for the reply,…

Hi

Thank you for the reply,

What mode of AES-128 is used in Indian Standards and implemented in Gurux DLMS libraries?

Regards,

Shanmukhi

Profile picture for user Kurumi

Kurumi

2 years 4 months ago

Hi Shanmukhi, The mode is…

Hi Shanmukhi,

The mode is CBC NoPadding.

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

  • 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
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin