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

1 month 2 weeks 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

1 month 1 week 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 month 1 week 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

Sravanti

2 weeks 4 days ago

Hi kurumi, I tried the…

Hi kurumi,

I tried the example that you have specified, but unable to communicate using authentication and encryption enabling. Am I missing something?
I am using default keys and secret password.

Thankyou.

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

Hire Us!

Latest Releases

  • Thu, 06/19/2025 - 09:33
    Gurux.DLMS.Python 1.0.185
  • Wed, 06/18/2025 - 15:11
    Gurux.DLMS.Python 1.0.184
  • Wed, 06/18/2025 - 10:05
    Gurux.DLMS.Python 1.0.183
  • Wed, 06/18/2025 - 09:06
    GXDLMSDirector 9.0.2506.1801
  • Wed, 06/18/2025 - 08:41
    Gurux.DLMS.Net 9.0.2506.1801

New forum topics

  • object list not get downloaded for firmware upgrade association
  • HLS GMAC L+G 570
  • Unable to read parameter values from Landis+Gyr E550 meter using GXDLMSDirector - NoAccess status
  • data.SetComplete(false); But all data recieved
  • Crash (endless loop)
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin