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. Print of Decrypted Messages.

Print of decrypted messages.

By MetersGuru , 16 February, 2024
Forums
Gurux.DLMS

Hi there. I wanted to ask a question about the messages encryption.
When we are using the VERBOSE trace, the messages are printed in their encrypted format, but we were wondering if there was some kind of option that let us see the decrypted message as well (while still maintaining the encrypted exchange).
I'm talking about the Python library but also about the Director (we are aware of the translation option inside the Director but the value is still displayed in its encryption state).
Thank you in advance.

Profile picture for user Kurumi

Kurumi

2 years 3 months ago

Hi, With C# you can show…

Hi,

With C# you can show decrypted messages like this:

Client.OnPdu += (object sender, byte[] data) =>
{
};

Python doesn't support this at the moment.

BR,
Mikko

MetersGuru

2 years 3 months ago

Are there any plans to…

Are there any plans to support this feature on the Python library as well?
We ask because it would be of great help to us to have such a feature.

On the same note, do you know if it is already possible to do such thing on the GuruX Director as well? And if so, how?

Profile picture for user Kurumi

Kurumi

2 years 3 months ago

Hi, GXDLMSDirector doesn't…

Hi,

GXDLMSDirector shows the data in Log and trace if you select "View", "Trace" and "Xml".

It's possible to add to the Python, but it's not on the worksheet yet. I can't give any release date when it's added for Python.

BR,
Mikko

MetersGuru

2 years 3 months ago

If you can add this feature…

If you can add this feature to the Python library worksheet, even if it won't be added anytime soon, it would still be very much appreciated, thanks.

On the Director side of things instead, we tried that procedure you described but it only decrypted the message wrapper and not the internal message. Is this intentional? Can it be set up to decrypt the internal message too?

Profile picture for user Kurumi

Kurumi

2 years 3 months ago

Hi, GXDLMSDirector shows…

Hi,

GXDLMSDirector shows data in XML format. If you want to see only decrypted data you can modify DLMS client example for your needs. You need only add this and you can see decrypted PDU:

Client.OnPdu += (object sender, byte[] data) =>
{
};

BR,
Mikko

MetersGuru

2 years 3 months ago

Hi there. We have noticed…

Hi there. We have noticed that the C library has recently been updated with a functionality like the one we were discussing here. Are there any new plans to add a similar feature to Python as well (given this novelty on the C side of things)?

Profile picture for user Kurumi

Kurumi

2 years 2 months ago

Hi, There is no timetable…

Hi,

There is no timetable for when it will come to Python. Our customers decide that.

BR,
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
RSS feed
Privacy FAQ GXDN Issues Contact
Follow Gurux on Twitter Follow Gurux on Linkedin