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 8 months ago

General-glo-ciphering implementation

Hi,

What meter you try to read?

BR,
Mikko

zell90

8 years 8 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 8 months ago

General-glo-ciphering implementation

Hi,

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

BR,

Mikko

zell90

8 years 8 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 7 months ago

Hi Kurumi, any news ? Regards

Hi Kurumi,
any news ?

Regards

Profile picture for user Kurumi

Kurumi

8 years 7 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 7 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 6 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

  • 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