The first thing is to thank you in advance for this project and the help you provide.
I'm trying writing a simple server to simulate a meter for emulate a Meter with DLMS Protocol. I am trying to write a simple server that push a PDU and add GLO cipher.
Can anyone help me out with a little example on how to add GLO cipher to my server with the translator structure?
<GeneralGloCiphering>
<SystemTitle Value = "" />
<CipheredService Value = "" />
</GeneralGloCiphering>
Until today I am generating the PushSetup objects and sending them with GXNet using the GXDLMSNotify.
foreach (var it in gxdlmsNotify.GeneratePushSetupMessages (DateTime.MinValue, pushSetupObject))
{
gxNet.Send (it, null);
}
And I would like to update the server to send the PDUs with the structure that I have commented before.
Hi Rubent,
Hi Rubent,
You can do it like below. Update the correct keys and system title.
GXDLMSSecureNotify notify = new GXDLMSSecureNotify(true, 16, 1, InterfaceType.WRAPPER);
notify.Ciphering.AuthenticationKey = ;
notify.Ciphering.BlockCipherKey = ;
notify.Ciphering.SystemTitle = ;
BR,
Mikko
Cool!! It works great!!
Cool!! It works great!! Thanks mikko, you are the best.