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: <[email protected]> on behalf of Nathan Heldt-Sheller 
<[email protected]>
Date: Wednesday, July 31, 2019 at 11:06 PM
To: "[email protected]" <[email protected]>
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: [email protected]
Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to