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. Changing Logical Association Name

changing logical association name

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 nishitha , 11 August, 2020
Forums
Gurux DLMS for Java

1)in GXDLMSAssociationLogicalName.class we have logical name as "0.0.40.0.0.255" can we change this another association??
2)if we want to provide key then can we use setKek for giving the key??

Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi,

Hi,

1. 0.0.40.0.0.255 is default association. Different associations have different OBIS codes.
2. KEK is the master key that is used to update authentication or block cipher key. KEK can be updated using the Security Setup object.

BR,
Mikko

nishitha

5 years 10 months ago

yes i want to use another

yes i want to use another obis code for association,so we can we change it in that particular file was my doubt thats all

nishitha

5 years 10 months ago

hi Mikko, now the data

hi Mikko, now the data transfer we do consist only of plain data, can we encrypt the data and also decrypt , for that can we set key using the setKek()

Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi,

Hi,

If you want to cipher (encrypt and decrypt) the data you need to set authentication key, block cipher key and Security.

BR,
Mikko

nishitha

5 years 10 months ago

OK Mikko, I see that

OK Mikko, I see that ciphering key is in class GXDLMSSecureServer2.class it is already hardcoded, but i was not able to find authentication key and security, can you guide where are these values so that i could manipulate and test

Profile picture for user Kurumi

Kurumi

5 years 10 months ago

Hi,

Hi,

You can use this for the client and server.
getCiphering().setSecurity(Security.AUTHENTICATION_ENCRYPTION);
getCiphering().setSystemTitle(GXCommon.hexToBytes("HEX value"));
getCiphering().setAuthenticationKey(GXCommon.hexToBytes("HEX value"));
getCiphering().setBlockCipherKey(GXCommon.hexToBytes("HEX value"));
getCiphering().setDedicatedKey(GXCommon.hexToBytes("HEX value"));

BR,
Mikko

nishitha

5 years 10 months ago

thanks Mikko

thanks Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Tue, 06/09/2026 - 11:16
    gurux.dlms.java 4.0.95
  • Tue, 06/09/2026 - 10:03
    Gurux.DLMS.Python 1.0.199
  • Mon, 06/08/2026 - 13:39
    gurux.dlms.cpp 9.0.2606.0801
  • 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

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

Who's new

  • Tuanhgg
  • Adel
  • charnon
  • Paddles
  • Miguel Ángel
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin