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. General-glo-ciphering Implementation

General-glo-ciphering implementation

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 zell90 , 20 September, 2017
Forums
Gurux DLMS for Java

Hi,
First of all I thank you for this simple and functional library, I was able to establish AA connection and I got successfully uncyphered objects with Public Client like Logical Device Name and Invocation Counter.
Now I have an issue to make a ciphered message with Management Client, this is my client:

secureClient = new GXDLMSSecureClient(true, 1, 1, Authentication.LOW, null, InterfaceType.WRAPPER);
secureClient.getCiphering().setSecurity(Security.AUTHENTICATION_ENCRYPTION);
secureClient.getCiphering().setSystemTitle(GXCommon.hexToBytes(CLIENT_SYSTEM_TITLE));
secureClient.getCiphering().setSecuritySuite(SecuritySuite.AES_GCM_128);
secureClient.getCiphering().setBlockCipherKey(GXCommon.hexToBytes(KEY_C));
secureClient.getCiphering().setAuthenticationKey(GXCommon.hexToBytes(KEY_C));
secureClient.getCiphering().setInvocationCounter(Long.parseLong(invocationCounter, 16));
secureClient.getNegotiatedConformance().add(Conformance.GENERAL_PROTECTION);

When I send a ciphered get-message to the meter, I don't obtain any response. I sent the message created from your library to the vendor of the meter, and he say me that all parameters I set are correct but I'm wrong about the kind of encryption, because I have to use general-glow-ciphering.

How can I set this type of encryption?
Thanks a lot.

Profile picture for user Kurumi

Kurumi

8 years 10 months ago

General-glo-ciphering implementation

Hi,

What meter you try to read?

BR,
Mikko

zell90

8 years 10 months ago

Hi Kurumi,

Hi Kurumi,
thanks for your answer, really is not a meter but a Universal concentrator (URM) with WMBus / GPRS radio antenna.
Regards.

Profile picture for user Kurumi

Kurumi

8 years 10 months ago

General-glo-ciphering implementation

Hi,

Is this Italy standard: UNI/TS 11291-11?

BR,

Mikko

zell90

8 years 10 months ago

Hi,

Hi,
yes Italian DLMS standard is UNI/TS 11291-11, and the encryption algorithm used is General Global Ciphering.

Best regards.

zell90

8 years 9 months ago

Hi Kurumi, any news ? Regards

Hi Kurumi,
any news ?

Regards

Profile picture for user Kurumi

Kurumi

8 years 9 months ago

General-glo-ciphering implementation

Hi,

We have implemented this to C# version. It's on next Java release. We'll try to release it before end of this month.
BR,
Mikko

zell90

8 years 9 months ago

Hi,

Hi,
thanks for your reply, I' ll wait for the next Java release.

Regards

Profile picture for user sognoct

sognoct

8 years 7 months ago

deleted

hello,
sorry, can't delete post. Found the solution by myself

Thanks
Max

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 07/23/2026 - 16:19
    gurux.dlms.java 4.0.96
  • Thu, 07/09/2026 - 14:34
    Gurux.DLMS.Python 1.0.201
  • Fri, 06/26/2026 - 16:32
    Gurux.Service 3.0.2606.2601
  • Wed, 06/24/2026 - 08:36
    Gurux.DLMS.Python 1.0.200
  • Mon, 06/15/2026 - 08:52
    gurux.dlms.c 9.0.2606.1501

New forum topics

  • Service not known error on gprs communication
  • Service not known error on gprs communication
  • Help Needed: Interfacing Saral 100 Energy Meter with Microcontroller via RS232
  • Connecting Meter to Agent via serial
  • Reading block profile with Compact array
More

Who's new

  • @Hmd- several '.
  • Dawsontot
  • Jerrylam
  • qvlLdJweKzGUYaSOVS
  • LindanEt
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin