
Overview of IoTivity Projects Kishen Maloor, Intel June 2018 Agenda • What is IoTivity? • Structure of an OCF implementation • IoTivity and IoTivity-Lite • Resources for getting started 2 What is IoTivity? • Umbrella of projects for building IoT devices • Open-source, reference implementations of OCF specifications • Serve as starting point for developing and certifying OCF products Specifications Vertical Data Models Device Certification Strategy, Marketing Independent governance with coordinated efforts 3 Structure of an OCF implementation User space IoT Applications Outer functional blocks APIs & Language Security Manage on-boarding, Bindings Provisioning Provisioning credentials, Infrastructure Access-control lists OCF Resource Model Resource directory, Device High-level Services Wi-Fi Easy Setup, etc. Stack Security Flows Bridging to other Zigbee, Z-Wave, etc. IP Connectivity ecosystems Kernel space Network Interfaces OS & Kernel 4 IoTivity and IoTivity-Lite • IoTivity • Suitable only for more capable device classes • Runs on Linux, Windows, Android, macOS • Multiple language bindings: C, C++, Java, Node.js • IoTivity-Lite (formerly called IoTivity-Constrained) • Lightweight implementation of OCF specifications • Suitable for all device classes (including few constrained devices) • Runs on Linux, Windows, macOS, and multiple RTOSes • C APIs only 5 IoTivity Directory Structure auto_build.py NOTICE.md auto_build.sh plugins bridging prep.sh build_common README-building-and-running-remote-access-sample.txt cloud README.md CONTRIBUTING.md Readme.scons.txt examples resource extlibs run.bat extra_options.scons scons_script_how_to.txt gbsbuild.sh SConstruct iotivity.pc.in service java tools LICENSE.md 6 Building IoTivity and Samples • Sample app sources in <iotivity>/resource/examples/ • Install dependencies and run scons • Build output stored in <iotivity>/out/linux/x86_64/release/ • IoTivity shared libs stored in <iotivity>/out/linux/x86_64/release/ • IoTivity sample apps stored in <iotivity>/out/linux/x86_64/release/resource/examples/ • Need to set LD_LIBRARY_PATH so apps can find shared libs export LD_LIBRARY_PATH=<iotivity>/out/linux/x86_64/release • Run samples 7 Resources for getting started • IoTivity repository • https://github.com/iotivity/iotivity • IoTivity build instructions • https://github.com/iotivity/iotivity/blob/master/Readme.scons.txt • Build infrastructure uses scons • IoTivity-Lite repository and build instructions • https://github.com/iotivity/iotivity-constrained • Each OS adaptation (port) employs a build system native to its environment (E.g. Linux uses make, Windows uses VS projects, etc.) • IoTivity Wiki • https://wiki.iotivity.org/ 8 .
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages9 Page
-
File Size-