I'm working on Gurux Libraries from git.
I'd to get/read the DLMS request command before its encryption and before it'll be send to the meter.
Could you please suggest how or where I can find this info? For instance the name of the function which manage the DLMS request command creation may be very helpful.
thanks for the prompt reply.
What I'd to know is the name of the Gurux libraries function which creates the DLMS commands.
This will help me to make some test with customized commands.
Thanks and Regards,
Walter
Hi,
Hi,
The framework does that automatically.
All you need to do is set system title and keys.
Something like this:
GXDLMSSecureClient cl = new GXDLMSSecureClient();
cl.Ciphering.SystemTitle = ;
cl.Ciphering.AuthenticationKey = ;
cl.Ciphering.BlockCipherKey = ;
BR,
Mikko
Hi Mikko,
Hi Mikko,
thanks for the prompt reply.
What I'd to know is the name of the Gurux libraries function which creates the DLMS commands.
This will help me to make some test with customized commands.
Thanks and Regards,
Walter
Hi Walter,
Hi Walter,
I'm afraid that it's not so easy. There are several commands. DLMS standard defines all commands. please, don't add new ones.
BR,
Mikko
Hi Mikko,
Hi Mikko,
It seems there was a misunderstanding.
My purpose is not to create new commands but it's to set parameters in order to specialize available commands.
Thanks in advance,
Walter
Hi Walter,
Hi Walter,
Check GXDLMSClient.read-method. I have to warn you that DLMS is very complicated protocol.
BR,
Mikko
Hi Mikko,
Hi Mikko,
thank you for the prompt reply.
Regards,
Walter