Getting started with IoTivity on Intel Devices

Published Date
11 - Oct - 2017
| Last Updated
12 - Oct - 2017
Getting started with IoTivity on Intel Devices


As more IoT devices are deployed into the marketplace, there is a desire to have devices that are intelligent and able to connect with each other in a common standardized way.  IoTivity is a step in this direction providing a framework that is cross platform, architecture independent, and is an open source solution for developers to use with their IoT devices.  This tutorial shows how to get started setting up a host build system, building the framework, and running a client/server example.


01:  Download and Install Ubuntu* 16 -
02:  Learn more about IoTivity -


01:  Install Host Packages

sudo apt-get install \
build-essential git scons libtool autoconf \
valgrind doxygen wget unzip \
libboost-dev libboost-program-options-dev libboost-thread-dev \
uuid-dev libexpat1-dev libglib2.0-dev libsqlite3-dev libcurl4-gnutls-dev

02:  Clone Repositories

git clone
git clone extlibs/tinycbor/tinycbor -b v0.4.1
git clone extlibs/mbedtls/mbedtls -b          

03:  Build IoTivity for Intel Devices


04:  Run the Simple Client/Server Example

04a:  Open a new Terminal and run the Server        

export LD_LIBRARY_PATH=~/iotivity/out/linux/x86_64/release
cd ~/iotivity/out/linux/x86_64/release/resource/examples

04b:  Open a new Terminal and run the Client

export LD_LIBRARY_PATH=~/iotivity/out/linux/x86_64/release
cd ~/iotivity/out/linux/x86_64/release/resource/examples


This tutorial got you started using the IoTivity framework on Intel Devices.  It was described how to setup the host build environment, how to build the source code, and run a client and server example project.  You are now ready to work with the framework examples and APIs for your next IoT project. 

For more such intel IoT resources and tools from Intel, please visit the Intel® Developer Zone

Source: Protection Status