cd TizenRT/os/tools
./configure.sh artik053/iotivity
cd ..
make menuconfig
Application Configuration
-> Examples
-> [ ] Enable building IoTivity Samples
[*] OCF My Light sample application
make
Create a dat file (Convert json to dat using json2cbor tool)
cd {iotivity-repo}/out/linux/x86_64/debug/resource/csdk/stack/samples/linux/ocf_mylight
../../../../security/tool/json2cbor json/oic_svr_db_server_justworks_rpin.json oic_svr_db_server.dat
Run
cd {iotivity-repo}/out/linux/x86_64/debug/resource/csdk/stack/samples/linux/ocf_mylight
./ocf_mylight
Iotivity Release mode
Create a dat file (Convert json to dat using json2cbor tool)
cd {iotivity-repo}/out/linux/x86_64/release/resource/csdk/stack/samples/linux/ocf_mylight
../../../../security/tool/json2cbor json/oic_svr_db_server_justworks_rpin.json oic_svr_db_server.dat
Run
cd {iotivity-repo}/out/linux/x86_64/release/resource/csdk/stack/samples/linux/ocf_mylight
./ocf_mylight