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. Code To Change The Key In C

Code to change the key in C

By george@n, 5 September, 2025
Forums
Gurux DLMS for ANSI C

How to prepare data to change the key after encryption. Found the C++ example in GlobalKeyTransfer(). Not sure how to convert it to C.
The expected DLMS translator output:

<MethodInvocationParameters>
<Array Qty="01" >
<Structure Qty="02" >
<Enum Value="02" />
<OctetString Value="24 bytes key" />
</Structure>
</Array>
</MethodInvocationParameters>

Thank you.

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Mon, 06/01/2026 - 10:15
    gurux.dlms.cpp 9.0.2606.0101
  • Thu, 05/28/2026 - 16:06
    gurux.dlms.java 4.0.94
  • Thu, 05/28/2026 - 13:16
    Gurux.DLMS.Net 9.0.2605.2801
  • Thu, 05/28/2026 - 13:14
    Gurux.DLMS.Python 1.0.198
  • Tue, 05/26/2026 - 11:37
    gurux.dlms.c 9.0.2605.2601

New forum topics

  • Error reading L&G Meter
  • Pass a TCP Client to GXNet
  • Australian EDMI Mk10D (Essential Energy area)
  • Strange mix of data notificiation vs get response
  • DLMS Connection
More
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin