Thank you, with that information I was finally able to run through all of the security tests. I have some failures but I am investigating them.
I did find the function OCResetSVRDB. Using code inspection, I was unable to tell if this puts the device in the OTM state. I did hear from another developer that this worked for them. Can anyone confirm if this function will put the device into the Ready-for-OTM state? George From: Heldt-Sheller, Nathan Sent: Monday, March 5, 2018 10:15 PM To: Nash, George <george.n...@intel.com>; iotivity-dev <iotivity-dev@lists.iotivity.org> Subject: RE: Setting device to "ready for OTM state" When testing CTT with IoTivity sample apps I've always just killed the Server, replaced the .dat file and restarted the Server. Thanks, Nathan From: iotivity-dev-boun...@lists.iotivity.org<mailto:iotivity-dev-boun...@lists.iotivity.org> [mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Nash, George Sent: Monday, March 5, 2018 4:18 PM To: iotivity-dev <iotivity-dev@lists.iotivity.org<mailto:iotivity-dev@lists.iotivity.org>> Subject: [dev] Setting device to "ready for OTM state" I have some code that I am running through the OFC Certification and Testing Tool. I am currently working on the security tests. When running the tests it will ask me multiple times to 'Please initiat device to "ready for OTM" state'. The OCF Security Specification v1.3.0 section 8.2 has a list of values for the Device Ready-for-OTM State Definition. These include setting the owned property to FALSE and setting a lot of UUIDs to the nil UUID. I could replace the security.dat file with the security.dat file before any of the unit tests ran but I don't know if that is what is expected. How have other developers handled putting the device into the "ready for OTM"? Do you have a reset method that changes the values in the security.dat file? George Nash
_______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev