-
Notifications
You must be signed in to change notification settings - Fork 4
Home
IoTKETI edited this page Jul 19, 2017
·
1 revision
oneM2M is an IoT server platform standard that supports devices as well as cloud server, while OCF(Open Connectivity Foundation) is an IoT service platform that supports devices. IPE(Interworking Proxy Entity) defined in oneM2M enables OCF devices to work with oneM2M server side platform.
- OCF IPE uses IoTivity source code as basis which is aligned with OCF standard. It is implemented in C++ and C.
- A gateway is requried to run IoTivity core and oneM2M device platform which is implemented in Java or Node.js.
- Download IoTivity open source from IoTvity home page. URL.(https://www.iotivity.org)
- Unzip OCF IPE sample file and get a set of source files & libraries.
- Copy all sample source files to "...//resource/examples" folder.
- Open SConscript file in "...//resource/examples" folder and add the code at "Source file and Target"
- Go to ".../" folder and compile the source with "scons" command line in Ubuntu Terminal.
In case of testing without real OCF device, we recommend to run [simpleserver] as a virtual OCF light device in “…//out///release/resource/examples” folder. OCF IPE sample code is designed to communicate with Mobius platform using Thyme(&Cube).
- Activate a local Mobius platform if you don’t want to use the KETI Mobius-yt.
- Activate Thyme after editing configuration file as below.
- Activate the “simpleserver” in “…//out/linux//release/resource/examples” folder.
- Activate ocf_ipe in “…//out/linux//release/resource/example” folder.