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

General-glo-ciphering implementation

Hi,

What meter you try to read?

BR,
Mikko

zell90

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

General-glo-ciphering implementation

Hi,

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

BR,

Mikko

zell90

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

Hi Kurumi, any news ? Regards

Hi Kurumi,
any news ?

Regards

Profile picture for user Kurumi

Kurumi

8 years 11 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 11 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 9 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

  • Wed, 08/26/2026 - 09:04
    Gurux.DLMS.Python 1.0.203
  • Mon, 08/17/2026 - 11:28
    Gurux.DLMS.Python 1.0.202
  • Mon, 08/17/2026 - 09:47
    gurux.dlms.cpp 9.0.2608.1701
  • Mon, 08/17/2026 - 09:25
    gurux.dlms.c 9.0.2608.1701
  • Mon, 07/27/2026 - 12:37
    gurux.dlms.cpp 9.0.2607.2701

New forum topics

  • Security vulnerability report — request for a private contact (GuruxDLMS.c / ANSI C)
  • Topic: Insufficient Memory Error When Reading Class 7 Profile Generic Objects
  • SN ReadResponse returns all-null values when response spans multiple HDLC frames
  • Gurux.Serial.Android 3.0.6 – CH340 (HL-340) USB-Serial Adapter Not Working,
  • Trying to talk to a L&G E360 meter (Using Python Gurux)
More

Who's new

  • cyby
  • Metin Onan
  • ssv007
  • 3nzol3dur
  • dw772
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin