Getting Started | Getting Started FAQ | Digging Deeper | GitHub Repository | IoTivity.org
IoTivity is an open source framework that implements the OCF (Open Connectivity Foundation) protocol for easy, secure device-to-device communication for IoT devices. IoTivity includes the following:
-
A reference implementation of client software -- the OTGC (Onboarding Tool and Generic Client) app for controlling a smart home or other IoT device (available on Linux or Android)
-
A reference implementation of server software that runs on the actual IoT device
-
Tools that generate code for the server, based on a JSON file that you will create to describe your device’s capabilities
These 15-30 minute tutorials walk through installing, building, and using client and server software applications that rely on IoTivity capabilities. The Digging Deeper section provides the how-to and reference information needed to implement IoTivity on your own custom device.
Getting Started with IoTivity (Device Simulation)
- Quickly simulates OCF smart device development and usage by running client and command-line server apps on the same Linux PC, using the OCF protocol to communicate over loopback.
Getting Started with IoTivity (Graphical Device Simulation)
- This example shows how to build a server with a graphical user interface (GUI). In addition to a graphical light bulb, this GUI has a switch and a slider, so you can make changes on the server and observe them in the client. Both the client and the server run on the same machine in loopback mode.
Getting Started with IoTivity (Raspberry Pi kit)
- Experience realistic smart device usage with a Raspberry Pi kit (more info here). The kit provides for a more immersive experience. With the kit and a Linux or Android client app, you can control a Raspberry Pi equipped with colored LEDs and capacitive touch buttons on an add-on board.