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. US Association With GuruxDLMSServer.c

US Association with guruxDLMSServer.c

By Sravanti, 9 May, 2025
Forums
Gurux.DLMS

Hi Kurumi,

Currently working on PC association using guruxDLMSserver.c with ESP32 using Arduino IDE .
With TCP communication we are able to download objects using GXDLMSDirector. Now we want to use US association.
Unable to assign authentication key and blockcipherkey in esp32 as dlms server.
What settings we need to do or add to get US association work.

Thank you

Profile picture for user Kurumi

Kurumi

2 weeks 1 day ago

Hi, You can set the block…

Hi,

You can set the block cipher and authentication keys like this:

Server.assingBlockCipherKey(&blockCipherKey.value);
Server.assingAuthenticationKey(&authenticationKey.value);

BR,
Mikko

Sravanti

2 weeks ago

Thank you, Kurumi, for the…

Thank you, Kurumi, for the quick reply.
I have tried the lines which you have mentioned. Its giving error regarding value not a member.
I need to know what code modification I need to do for US association with security and authentication HIGH.

https://github.com/Gurux/GuruxDLMS.c/blob/master/GuruxDLMSServerExample…
with the above reference code able to download objects with PC association, with DLMServer in ESP32. The same way I need US association as well.
Facing issue with assigning authentication, security keys and assigning DLMS_AUTHENTICATION_HIGH.
Please let me know.

Thank you.

Profile picture for user Kurumi

Kurumi

1 week 5 days ago

Hi, You can find the Arduino…

Hi,

You can find the Arduino example from here:

https://github.com/Gurux/GuruxDLMS.c/tree/master/Arduino_IDE/server

BR,
Mikko

  • Log in or register to post comments
  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 05/20/2025 - 08:40
    gurux.dlms.c 9.0.2505.2001
  • Mon, 05/19/2025 - 10:19
    gurux.net.java 1.0.30
  • Mon, 05/19/2025 - 10:00
    gurux.dlms.c 9.0.2505.1901
  • Thu, 05/15/2025 - 16:26
    gurux.dlms.c 9.0.2505.1501
  • Wed, 05/14/2025 - 08:30
    gurux.dlms.c 9.0.2505.1401

New forum topics

  • HDLC Adress resolver configuration
  • Reading all "Data" object type parameter together
  • com_read getting failed for billing profile and instantaneous profile
  • Simulator connection closed
  • Regarding the dlms android project
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin