IoTivity is an open source software project enabling seamless device-to-device connectivity where billions of wired and wireless Internet of Things (IoT) devices can securely connect to each other and to the internet. The Open Connectivity Foundation (OCF) develops specifications, interoperability guidelines, and a certification program for these devices. IoTivity is an open source reference implementation of the OCF specification. You can learn more about OCF here, and about IoTivity here.
The IoTivity framework APIs expose the framework to developers, and are available in several programming languages and for multiple operating systems. The framework supports dedicated and optimized protocols for IoT, with specific considerations for constrained devices and addressing all types of devices, form-factors, companies, ecosystems and markets.
The IoTivity framework operates as middleware across all operating systems and connectivity platforms and has these four essential building blocks:
- Discovery: supporting multiple mechanisms for discovering devices and resources in proximity and remotely.
- Data transmission: supporting information exchange and control based on a messaging and streaming model.
- Data management: supporting the collection, storage and analysis of data from various resources.
- Device management: supporting configuration, provisioning and diagnostics of devices.
OCF Developer Program
The OCF Developer Training will show you how to set up an IoTivity development environment on a Raspberry Pi 3 board. The OCF Developer Kit includes a Raspberry Pi 3 board and additional hardware to get you started with IoT development using IoTivity APIs and interacting with sensor/actuator devices. You’ll be generating, building and running the sample server applications on the Raspberry Pi 3 board itself.
Setup of the development environment is easy, it is just 1 command:
For a complete summary of all the steps required for installation of IoTivity, IoTivity-lite and support for hardware on the Raspberry Pi, see these instructions.
Additional information about using hardware on the Raspberry Pi can be found here.
The OCF Developer Training slides below will give short introductions about:
- General OCF introduction:
- Additional tools:
To view OCF experts presenting the above materials, please click here.
- Materials Needed to build your own Developer Kit:
- A Raspberry Pi 3 ($35)
- A Pimoroni Enviro Phat board ($20)
- A micro USB power supply ($7)
- A micro SD card (8 GB is about $8)
- An Ethernet cable to connect to the Internet (about $3)
- A USB keyboard and mouse
- A monitor and HDMI cable
- Step by Step Instructions for How to Install IoTivity: