Hi, The OBT initialization API security/oc_obt.c:oc_obt_init() performs the self-onboarding.
An OBT implementation (e.g. onboarding_tool/obtmain.c) would invoke this API twice: a) at startup (inside the .requests_entry callback), b) following every RESET inside the factory_presets callback (onboarding_tool/obtmain.c:factory_presets_cb()). Thanks, -Kishen. -- Kishen Maloor Intel Corporation From: <iotivity-dev@lists.iotivity.org> on behalf of Nathan Heldt-Sheller <nathan.heldt-shel...@intel.com> Date: Wednesday, July 31, 2019 at 11:06 PM To: "iotivity-dev@lists.iotivity.org" <iotivity-dev@lists.iotivity.org> Subject: [dev] IoTivity Lite code for OBT to onboard self? Hi folks, I’m looking for the code that takes an OBT itself from /pstat.dos.s = RFOTM to RFNOP, essentially self-onboarding. Kishen (or anyone else who might know) can you please point me to the right starting point (file and function)? Thanks, Nathan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#10248): https://lists.iotivity.org/g/iotivity-dev/message/10248 Mute This Topic: https://lists.iotivity.org/mt/32676103/21656 Group Owner: iotivity-dev+ow...@lists.iotivity.org Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-