Hi, Mikko!
Incorrect works adding authentication key to array.
In DLMSDirector i add new key: for example id: 55, key: 1a2b3c4d
Recieved packet: 7ea0260361762264e6e600c301c100640000190a001902010202060000003709041a2b3c4d4d2e7e
On server side calls Invoke() method with method index == 2 - Ok.
But adding not works. I think problem here in Invoke():
CGXByteBuffer bb;
bb.Set(e.GetParameters().byteArr, e.GetParameters().GetSize());
bb is empty after set.
e.GetParameters() returns CGXDLMSVariant with array of two elements: first - key id, second - key in byteArr.
And when i read in DLMSDirector NTP Object it has one pair key_id-key: key_id:0 key - empty
Thanks!
Hi Dmitry,
Hi Dmitry,
I created an issue for this.
http://www.gurux.fi/node/19142
It will take a couple of weeks before it's released.
BR,
Mikko
Ok! Thank you very much!
Ok! Thank you very much!
Hi!
Hi!
Thanks for NTP Support in new release!
Will be add CGXDLMSNtpSetup to CGXDLMSObjectFactory?
Also link in h-file http://www.gurux.fi/Gurux.DLMS.Objects.GXDLMSNtpSetup does not work and no link here:
http://www.gurux.fi/Gurux.DLMS.Objects
Hi,
Hi,
Thanks for pointing this out. There was a human error and it was left out from the GitHub commit. Get the latest version.
BR,
Mikko
Will be add reimplemented
Will be add reimplemented Invoke() method for call methods?
1. synchronize (data)
2. add_authentication_key (data)
3. delete_authentication_key (data)
Now CGXDLMSNtpSetup::GetMethodCount() returns 3.
Hi,
Hi,
Methods are updated. Get the latest version.
BR,
MIkko
Hi, Mikko!
Hi, Mikko!
Incorrect works adding authentication key to array.
In DLMSDirector i add new key: for example id: 55, key: 1a2b3c4d
Recieved packet: 7ea0260361762264e6e600c301c100640000190a001902010202060000003709041a2b3c4d4d2e7e
On server side calls Invoke() method with method index == 2 - Ok.
But adding not works. I think problem here in Invoke():
CGXByteBuffer bb;
bb.Set(e.GetParameters().byteArr, e.GetParameters().GetSize());
bb is empty after set.
e.GetParameters() returns CGXDLMSVariant with array of two elements: first - key id, second - key in byteArr.
And when i read in DLMSDirector NTP Object it has one pair key_id-key: key_id:0 key - empty
Thanks!
Hi,
Hi,
Add authentication key seems to be tested, but I'll verify this and let you know.
BR,
Mikko
Hi,
Hi,
You are right. I made an issue from this.
http://www.gurux.fi/node/19422
This is tested and released later today.
BR,
Mikko
Hi, Mikko!
Hi, Mikko!
Conversion enum DLMS_OBJECT_TYPE_NTP_SETUP to String skipped in method
const char* CGXDLMSConverter::ToString(DLMS_OBJECT_TYPE type)
and String to enum
DLMS_OBJECT_TYPE CGXDLMSConverter::ValueOfObjectType(const char* value)
Thanks!
Hi Dmitry,
Hi Dmitry,
Thank you for this info. I'll add it to the worklist. It's included for the next release.
BR,
Mikko