Hi everyone,
I’m working with the Gurux DLMS Java libraries and I’ve run into an issue.
When the meter sends an encrypted frame without including the system title, I can’t decode it — the decryption fails.
Has anyone faced this situation? Is there a way to handle frames where the system title is missing?
Thanks in advance for any suggestions.
Hi, If the meter does not…
Hi,
If the meter does not send the system title, then the client must set it before decrypting the data. Italy Standard UNI/TS 11291-11-2 works like this and all the meters must use the same client system title. You can read it from the security setup object.
https://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSSecuritySetup
It's not possible to decrypt the data without the correct system title.
BR,
Mikko
Hi Kurumi,thanks for your…
Hi Kurumi,
thanks for your reply.
I still have the same issue.
Here’s my code:
What am I doing wrong?
Hi, You have set the client…
Hi,
You have set the client system title. The server system title is set when the communication with the meter starts, and the meter sends AARE message.
You must set the meter system title if you are using pre-established connections where AARQ/AARE is not sent. You can do it like this:
client.setServerSystemTitle(METER SYSTEM TITLE);
BR,
Mikko
Hi, it worsk! Thank you!!
Hi,
it works! Thank you!!