hi mikko,
I am implementing an UI where i take obis from xml file, parse and set some values and send to meter,in this I need a small clarification
2)In the server code, I see there in init() function in GXDLMS base where we add different objects to meter,
before that there is a setKek(function) what is the purpose of it ?.
3)After adding objects to meter in init(), there are 3 steps before server initialization as follows:
getItems().add(new GXDLMSCompactData());
getItems().add(new GXDLMSDisconnectControl());
///////////////////////////////////////////////////////////////////////
// Server must initialize after all objects are added.
super.initialize();
So suppose if i need to add new obis, do we need to add them only in the init() after setKek and before server initialize. (or) can we add it from GSDLMSServerExample.java ???
KEK is used if you update keys to the meter.
You need to add the objects before calling initialize-method.
You can add objects also after that, but initialize checks that object type and logical name are set.
hi Mikko,
so we can update key using kek?
what is the object type you are referring?
And as you specified earlier, intialize checks object type and logical name are set, so can we just use addLogicalName in init() and other objects we can add later after server.initilaize() right?
Hi,
Hi,
KEK is used if you update keys to the meter.
You need to add the objects before calling initialize-method.
You can add objects also after that, but initialize checks that object type and logical name are set.
BR,
Mikko
BR,
Mikko
hi Mikko,
hi Mikko,
so we can update key using kek?
what is the object type you are referring?
And as you specified earlier, intialize checks object type and logical name are set, so can we just use addLogicalName in init() and other objects we can add later after server.initilaize() right?
Hi,
Hi,
Security Setup.
You can add them later if you have added them to the association view. Initialize method updates also association view is it's not set (size is zero).
BR,
Mikko