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. Node
  3. Set AUTHENTICATION In Gurux.DLMS.cpp (new API)

Set AUTHENTICATION in Gurux.DLMS.cpp (new API)

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 Leila , 9 April, 2016
Forums
Gurux.DLMS

Hi,

I am trying to use the latest version of Gurux.DLMS.cpp on windows but I am confused how to set the authentication.
I initiate the meter as below:
CGXDLMSClient cl(true, 3, serverAddress, GXDLMS_AUTHENTICATION_LOW, "ABCDEFGH");
It, however, sends "34 E6 30 00 00 00 00 00" to the meter as the password and then I get:
AARQRequest failed 21.
InitializeConnection failed Authentication mechanism name not recognised..

I would be pleased if you help me know how to initiate with authentication.

Thank you for your kind help and attention.

Best regards,
Leila

Profile picture for user Kurumi

Kurumi

10 years 6 months ago

Set AUTHENTICATION in Gurux.DLMS.cpp (new API)

Hi,

We have updated new version to GitHub where we have fixed this.
Thank you for reporting this.

BR,

Mikko

Leila

10 years 6 months ago

Set AUTHENTICATION in Gurux.DLMS.cpp (new API)

Hi Mikko,

Thank you for your new version. I already tested it. It worked well on windows but in ubuntu OS it sends "2F 65 74 63 2F 6C 6F 63" as the password.
My setting is:
CGXDLMSClient cl(true, 3, serverAddress, GXDLMS_AUTHENTICATION_LOW, "ABCDEFGH", GXDLMS_INTERFACETYPE_HDLC);

Thank you again.

Best regards,
Leila

Profile picture for user Kurumi

Kurumi

10 years 6 months ago

Set AUTHENTICATION in Gurux.DLMS.cpp (new API)

Hi,

Did you get latest version from GitHub and remember build it?
I verify this and it works on my Linux.

BR,

Mikko

Leila

10 years 6 months ago

Set AUTHENTICATION in Gurux.DLMS.cpp (new API)

Hi Mikko,

Thank you for you time. I got the new version and then the problem didn't show again.

Best Regards,
Leila

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101
  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202

New forum topics

  • Need RJ45 pin configuration for Saral 300 and Saral 305 Secure meters
  • Query Regarding Class 63 Status Mapping Support in Gurux DLMS Python
  • Inhemeter
  • DLMS Server - Profile Generic - can't add too many items to profile generic capture object - how to set maximum profile entries
  • HDLC Frames sequencing
More

Who's new

  • Asier Sierra
  • BlessyAnn
  • sravya.thota@m…
  • Diwakar
  • williamorussell
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin