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. GXDLMSDirector - Device Setting - Authentication

GXDLMSDirector - Device Setting - Authentication

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 deepaks , 22 May, 2020
Forums
General discussion

Hi,

I cannot see Lowest to HLS-5(Device Setting -> Authentication) authentication level in 8.2.2005.1401 version of GXDLMSDirector, Ijust wanted to do some POC for High Level GMAC based association and Reading.

Device Setting -> Authentication

Am i doing something wrong?

Thanks in Advance

Profile picture for user Kurumi

Kurumi

6 years 2 months ago

Hi,

Hi,

What device did you try to read? This manufacturer hasn't support GMAC before.
Change device manufacturer to Gurux and update your settings and try to read again.

BR,
Mikko

deepaks

6 years 2 months ago

In reply to Hi, by Kurumi

Hi Mikko,

Hi Mikko,

Thanks I got the option now, but when i proceed after filling all the nexessary security details as attached, I got following error in Meters AARE Response(I Guess), but could not able to locate the error, SO need your expert help.
The XML generated as:

<?xml version="1.0" encoding="utf-8"?>
<GXDLMSDevice xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xmlns="Gurux1">
<MaximumBaudRate>9600</MaximumBaudRate>
<Authentication>HighGMAC</Authentication>
<Password>mR3Vs57qW5rOSoeFK50bdw==</Password>
<Security>Encryption</Security>
<SystemTitle>45484C3435363738</SystemTitle>
<ServerSystemTitle />
<DedicatedKey />
<BlockCipherKey>45454545454545454545454545454545</BlockCipherKey>
<AuthenticationKey>41414141414141414141414141414141</AuthenticationKey>
<Challenge />
<ClientAddress>32</ClientAddress>
<StartProtocol>DLMS</StartProtocol>
<UseFrameSize>true</UseFrameSize>
<InactivityTimeout>120</InactivityTimeout>
<Name>L500MRHLS5</Name>
<Conformance>6173</Conformance>
<Manufacturer>grx</Manufacturer>
<HDLCAddressing>0</HDLCAddressing>
<UseProtectedRelease>false</UseProtectedRelease>
<MediaType>Gurux.Serial.GXSerial</MediaType>
<MediaSettings>&lt;Port&gt;COM5&lt;/Port&gt;</MediaSettings>
<UseLN>true</UseLN>
<Objects2 />
</GXDLMSDevice>

The Communication loas:

19:39:14 Send SNRM request.
TX: 7E A0 1E 03 41 93 98 5E 81 80 12 05 01 75 06 01 75 07 04 00 00 00 01 08 04 00 00 00 01 25 9C 7E
19:39:14
RX: 7E A0 1E 41 03 73 8E 7F 81 80 12 05 01 75 06 01 75 07 04 00 00 00 01 08 04 00 00 00 01 25 9C 7E
19:39:14 Send AARQ request.
TX: 7E A0 5F 03 41 10 07 E2 E6 E6 00 60 51 A1 09 06 07 60 85 74 05 08 01 03 A6 0A 04 08 45 48 4C 34 35 36 37 38 8A 02 07 80 8B 07 60 85 74 05 08 02 05 AC 12 80 10 43 5D 59 2E 0A 12 5F 60 42 18 79 28 58 61 17 0B BE 17 04 15 21 13 20 00 00 00 00 06 E9 1B 05 31 31 23 B9 C9 C1 79 A0 59 58 8A F5 7E
19:39:14
RX: 7E A0 7E 41 03 30 F5 96 E6 E7 00 61 70 88 02 07 80 89 07 60 85 74 05 08 02 05 AA 12 80 10 FB 62 AD 3E FB 62 AD 3E FB 62 AD 3E FB 62 AD 3E A1 09 06 07 60 85 74 05 08 01 03 A2 03 02 01 00 A3 05 A1 03 02 01 0E A4 0A 04 08 45 48 4C 34 35 36 37 38 BE 17 04 15 28 13 20 00 00 00 0A 1D 65 F9 D1 D4 7F 64 46 7E AB 34 59 F5 93 BE 2C EB E6 C7 BC 45 35 CC CF 5B C6 EF B0 45 82 B9 A2 85 F6 30 7E
19:39:14
RX: 7E A0 20 41 03 73 3E 9D 81 80 14 05 02 01 00 06 02 01 00 07 04 00 00 00 01 08 04 00 00 00 01 69 6D 7E

The Promp file is attached

Image
Profile picture for user Kurumi

Kurumi

6 years 2 months ago

Hi,

Hi,

There is unknown tag in the data. I believe that you are adding extra bytes in ciphering to the data.

BR,
Mikko

deepaks

6 years 2 months ago

In reply to Hi, by Kurumi

Hi Mikko,

Hi Mikko,

Yes you are right it was due to corrupted buffer.

Thanks a lot.

Profile picture for user Kurumi

Kurumi

6 years 2 months ago

Hi Deepak ,

Hi Deepak ,

I'm glad that this is solved and you let me know the reason.

BR,
Mikko

deepaks

6 years 2 months ago

In reply to Hi Deepak , by Kurumi

Hi Mikko,

Hi Mikko,

My new implementation was extra incrementing the response buffer index by Size of Security header and Ciphered Content which the code has already taken cared of.

Thanks for your Help !!!

  • 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

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