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. RLRQ-RLRE With Glo-service-specific

RLRQ-RLRE with glo-service-specific

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 belen.morenate , 22 August, 2022
Forums
Gurux.DLMS

Hi all
I am using Gurux.DLMS as a server simulator.
I get all request-responses well except RLRE.

When I request to GXDLMSServer.cs the RLRQ like this:
https://www.gurux.fi/GuruxDLMSTranslator?pdu=6228800100BE230421211F3000…

I get as response an invalid APDU
https://www.gurux.fi/GuruxDLMSTranslator?pdu=632D800100BE2B042ADB08454D…

Server is configured ok because the rest AARQ, AARE, Get-requests, glo-ciphered... all are working fine except RLRE.

Any idea? is this working in the Gurux.DLMS server or is there any known issues around?

Thanks!

Profile picture for user Kurumi

Kurumi

4 years 3 months ago

Hi,

Hi,

It should work without problems. What programming language you are using in the server side?

BR,
Mikko

belen.morenate

4 years 3 months ago

We are using .net (C#):

We are using .net (C#):

We set properties of GXDLMSServer->Settings (type GXDLMSSettings):

Settings.Authentication = Authentication.HighGMAC;

Ciphering.SystemTitle = Encoding.ASCII.GetBytes(Device.LogicalName);
Ciphering.RecipientSystemTitle = "<any byte[8]>"
Ciphering.Security = Security.AuthenticationEncryption;
Ciphering.SecuritySuite = SecuritySuite.GMac;
Ciphering.BlockCipherKey = <any byte[16]>;
Ciphering.AuthenticationKey = <any byte[16]>;

var ldn = new GXDLMSData("0.0.42.0.0.255") { Value = Device.LogicalName };
ldn.SetDataType(2, DataType.OctetString);
ldn.SetUIDataType(2, DataType.String);
Items.Add(ldn);

<Lots of Items added to Items>

server.Initialize();

var sr = new GXServerReply("6228800100BE230421211F3000000005434F286885E6467CD203A378F493C9896CF195AF8A0AD55FA9F3".HexToBytes());
server.HandleRequest(sr);
var rlre = sr.Reply.ToHexString();

We get an invalid RLRE:
632D800100BE2B042ADB08454D4541303030311F30000000045F3C63A87DDAF0EB19C912FF2E2E70557A65E33D9056364F066F

Should we set anything else to make RLRE work?
What are the Items evolved in the RLRE that may affect RLRE generation?

Thanks!

belen.morenate

4 years 2 months ago

What are the Items stored in

What are the Items stored in GXDLMSServer.cs that may affect the RLRE generation?
or alternativelly could you point me to the code in github to read it?

belen.morenate

4 years 1 month ago

Any update on this?

Any update on this? I would really appreciate

Profile picture for user Kurumi

Kurumi

4 years 1 month ago

Hi,

Hi,

You need to set UseProtectedRelease to true and call the client's Release method. You don't hardcode RLRE because it's changing for every transaction. I believe this is the reason why it fails.

BR,
Mikko

  • Create new account
  • Reset your password

Hire Us!

Latest Releases

  • Thu, 11/19/2026 - 10:57
    Gurux.DLMS.Python 1.0.204
  • Thu, 11/19/2026 - 10:12
    gurux.dlms.c 9.0.2611.1901
  • Tue, 10/13/2026 - 12:00
    gurux.dlms.java 4.0.97
  • Tue, 09/22/2026 - 14:02
    Gurux.DLMS.Net 9.0.2609.2201
  • Mon, 09/21/2026 - 10:18
    Gurux.DLMS.Net 9.0.2609.2101

New forum topics

  • Landis E650 meter reading over DLMS
  • class_id = 40, version = 2, pushsetup Unparsed data frame
  • GXObisValueItem entries without MaskSize appear to be interpreted as bit flags
  • CheckedListBox incorrectly selects GXObisValueItem Value=0 for non-zero values
  • UIValueType=TextBox is rendered as CheckedListBox when Values are defined
More

Who's new

  • Sayang
  • q80435762@gmail.com
  • ONCAK
  • Berhasil
  • ratirvivege1979
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin