Hi, > I have one more question. > oc_reset() changes the client's UUID. > Is it intended?
In the current specifications, OBTs must configure a "deviceuuid" each time the device is onboarded. So, expect a device's UUID to change. After a device is RESET, its UUID could be anything (even zeroed out). Any OBT/applicaton/device should not rely on "deviceuuid" consistency. > In my opinion, reset to RFOTM means change status for OTM but UUID. > If UUID is changed, obt or server will think that it's a different device. Fyi, the specfications currently recommend using /oid/d.piid to return a fixed and unchanging UUID that survives power and RESET cycles. IoTvity-Lite supports this model. Applications have an API (oc_set_immutable_device_identifier()) to configure one (look in apps/smart_home_server_linux), and if apps don't, a UUID is randomly chosen the first time the device starts up and sticks. As such, any Client (OBT or otherwise) can rely on this UUID being consistent. > In my case, after oc_reset() or deleting creds directory, I must go back to > the first step "Select IUT" and > I selected a device of new UUID. > To pass Confermance test shall be run three times. With the CTT, you'd RESET the IUT whenever it asks you. When the CTT tries to re-discover a device following a RESET, it knows to not rely on "deviceuuid". Rather I believe it uses some heuristic to pick the right device for further tests. Thanks, -Kishen. -- Kishen Maloor Intel Corporation From: <iotivity-dev@lists.iotivity.org> on behalf of 김정진 <j....@vinetech.com> Date: Wednesday, November 6, 2019 at 1:11 AM To: "iotivity-dev@lists.iotivity.org" <iotivity-dev@lists.iotivity.org> Subject: Re: [dev] Question About CT2.2.6 on CTT1903.0.00 and How to reeset client OTM? Hi, Kishen. I can pass the CT2.2.6 due to your advice. I'm appreciated for you so much. I have one more question. oc_reset() changes the client's UUID. Is it intended? In my opinion, reset to RFOTM means change status for OTM but UUID. If UUID is changed, obt or server will think that it's a different device. In my case, after oc_reset() or deleting creds directory, I must go back to the first step "Select IUT" and I selected a device of new UUID. To pass Confermance test shall be run three times. Best regards. Kim. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10283): https://lists.iotivity.org/g/iotivity-dev/message/10283 Mute This Topic: https://lists.iotivity.org/mt/42101102/21656 Group Owner: iotivity-dev+ow...@lists.iotivity.org Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-