SlideShare a Scribd company logo
Samsung Open Source Group 1Samsung Open Source Group
Philippe Coval
Samsung Open Source Group / SRUK
philippe.coval@osg.samsung.com
For Automotive IoT Interoperability
Conference Libre Software and Hardware / Workshops
Université de Rennes, France <2017-02-08>
Samsung Open Source Group 2Samsung Open Source Group
Bonjour tout le monde !
● Philippe Coval
– Software engineer of Samsung OSG (EU team)
– Member of IoTivity, Tizen, Yocto, Automotive (GENIVI+AGL) projects
– I am taking care about OS/hardware support, build & usages
– Ask me for help:
● https://wiki.tizen.org/wiki/User:Pcoval
Samsung Open Source Group 3Samsung Open Source Group
Agenda
● What is Open connectivity ?
● What is IoTivity ?
● What is OCF automotive?
● A Vehicle to Infrastructure IoT demonstration
● Q&A or/and extras
?
Samsung Open Source Group 4Samsung Open Source Group
“Simplicity
is the ultimate sophistication.”
~Leonardo da Vinci
Samsung Open Source Group 5Samsung Open Source Group
Open Connectivity Foundation
● “Providing the software Linking the Internet of Things”
● Creating a specification, based on open standards:
– Resource based, RESTful architecture (Stateless. client/server...)
– IETF, CoAP protocol (HTTP on UDP), CBOR (JSON in binary)...
● Sponsoring reference implementation: IoTivity
– under Apache 2.0 license
● Rules: Part of standard only if
– Specified and Implemented
Samsung Open Source Group 6Samsung Open Source Group
OCF Automotive profile's mission
● Provide OCF technology for connected cars, by proposing
– A common definition of vehicle resources
– A common way to interact with those (inside or outside vehicle)
– Based on or bridging to existing standards
● Cooperative effort with existing FLOSS Automotive projects
– Tizen, GENIVI, AGL, W3C, RVI ...
Samsung Open Source Group 7Samsung Open Source Group
IoTivity is a complete framework
● Hardware: CPU, MCU, Desktop, Mobile, SBC, Tizen devices
● OS: Many including GNU/Linux, Tizen, Yocto, Android or baremetal...
● C API: Data transmission (flash footprint ~128KiB-)
– Resource Model / Serialization (CBOR)
– Connectivity Abstraction: CoAP, Local IP Network, BT, BLE...
– Discovery (UDP, Multicast), Security (DTLS/TLS)
● C++ API: Object Oriented (C++11)
● More Bindings: JavaScript (iotivity-node)
● + High level services
– Data/Device Management, Hosting, Encapsulation, Cloud interface
Samsung Open Source Group 8Samsung Open Source Group
IoTivity is resources oriented
● Resource is identified by an URI
– Composed of properties
● Declared by a ResourceType
– Operations: CRUD+N
● Create, Read, Update, Delete+ Notify
● Use existing known resource models
– From oneIoTa.org repository
– Ie: sensors, geolocation...
● Or create new ones (new names)
– Share for interoperability
● http://www.oneiota.org/revisions/1863
● oic.r.sensor.illuminance.json
● /* … */ "definitions": {
  "oic.r.sensor.illuminance": {
    "properties": {
      "illuminance": {
        "type": "number",
        "readOnly": true,
        "description":
    "Sensed luminous flux in lux."
}  }  } /* … */ 
Samsung Open Source Group 9Samsung Open Source Group
Flow: Create, Read, Update, Delete, Notify
IoTivity Server IoTivity Client(s)
Local IP Network
Registration of resource
Handling new requests Set/Get/ing properties values
Initialization as server Initialization as client
Handling new clients Discovery of resource
POST/PUT GET
UDP Multicast
+ CoAP
Notify updated resource Observe resource change
& Handling propertiesOBSERVE
Samsung Open Source Group 10
OCDoResource(...OC_REST_PUT …)
onPut(... OCClientResponse ...)
Example: Client updates server's resource
OCInit(..., OC_SERVER);
OCCreateResource( …, onOCEntity);
{ OCProcess(); }
onOCEntity(entityHandlerRequest) {
switch entityHandlerRequest->method
{
case 'POST: // Create value
case 'PUT' : // Update new resource
// handling the change
case 'GET' : // READ current value
...
OCDoResponse(&response);
}}
OCInit(..., OC_CLIENT);
OCDoResource(...,OC_REST_DISCOVER, ...)
onDiscover(... OCClientResponse ...)
IoTivity Server IoTivity Client(s)
IP NetworkIP Network
● Client sets resource's value
● Server is handling it
– and responding
Samsung Open Source Group 11
“Any sufficiently
advanced technology
is indistinguishable
from magic.”
~ Arthur C. Clarke
Samsung Open Source Group 12Samsung Open Source Group
How to track defectives street lights?
● 1: Measure if outside's lighting is too dark
– Using Embedded sensor in car (demo: I²C sensor)
– Turn car's front light on automatically
● 2: Get position from satellites (GPS, Galileo)
– From: car, mobile or any (demo: simulated)
● 3: Send notice to Internet (Cloud)
– Using mobile data
– 4: Forward information to city services (pull or push)
● 5: Agent is assigned
– 6: to fix defective light
● 7: he can also check “open data” base from his mobile
● ...
11
2
3
5
6
4
7
Samsung Open Source Group 13Samsung Open Source Group
From devices to cloud (AutoLinux FOSDEM)
https://vimeo.com/202478132#iotivity-artik-20170204rzr
Samsung Open Source Group 14Samsung Open Source Group
/GeoLocationResURI
{
latitude: 52.165,
longitude: -2.21,
}
A Vehicle to Infrastructure notification service
function handle(illuminance) {
  if (gThreshold > illuminance) {
    var data= { illuminance: illuminance,
                latitude: gGeo.latitude, longitude: gGeo.longitude };
    sender.send(data); // { ARTIK's client.post(url...); }
} }
client.on("resourcefound", function(resource) {
  if ("/IlluminanceResURI" === resource.resourcePath) {
    resource.on("update", handle);
  } else if ("/GeolocationResURI" === resource.resourcePath){
    resource.on("update",
      function(resource) { gGeo = resource.properties; });
} };
1
2
/IlluminanceResURI
{
illuminance: 42
}
https://api.artik.cloud/
{
illuminance: 42,
latitude: 52.165,
longitude: -2.21
}
3
1
Samsung Open Source Group 15Samsung Open Source Group
Summary
● Open Connectivity establishes a specification
– for interconnecting things, products, services
– RESTful architecture based on existing standards (IETF, CoAP, Cbor)
● IoTivity implements it in C under Apache-2.0 license
– Can run on micro controllers (baremetal)
– Most Operating systems: GNU/Linux, Tizen, Yocto (GENIVI, LFAGL etc)
– Other languages C++, JS are supported
● Automotive is one of OCF domains under development
– Project is open to be extended with new technologies or services
Samsung Open Source Group 16
Q&A or/and Extras ?
Samsung Open Source Group 17Samsung Open Source Group
IoTivity on LF AGL + Minnow max (OSHW)
https://vimeo.com/156307187#iotivity-agl-demo-platform-20160222rzr
Samsung Open Source Group 18Samsung Open Source Group
Use GeoLocation resource in Tizen apps
https://vimeo.com/164000646#tizen-genivi-20160424rzr
Samsung Open Source Group 19Samsung Open Source Group
References
● Entry points:
– http://wiki.iotivity.org/automotive
– https://openconnectivity.org/industries/automotive
● Going further:
– https://openconnectivity.org/resources/iotivity
– https://openconnectivity.org/resources/oneiota-data-model-tool
– https://news.samsung.com/global/samsung-contributes-to-open-iot-showcase-at-ces-2017
● Keep in touch online:
– https://wiki.iotivity.org/community
– https://wiki.tizen.org/wiki/Meeting
– https://blogs.s-osg.org/author/pcoval/
Samsung Open Source Group 20Samsung Open Source Group
Merci / Trugarez
Thanks / 고맙습니다
Samsung OSG, SRUK, SEF, SSI,
Open Connectivity Foundation and members, LinuxFoundation,
FLOSS Communities: Tizen, Yocto, EFL, LF AGL, GENIVI, eLinux,
Local: LabFabFr, CampOSV, UR1 IETR Rennes, IMT Atlantique, IoTBzh.
Resources: xkcd.com, FlatIcons
(CC BY 3.0: Freepik,Scott de Jonge, Gregor Cresnar)
Tools: Libreoffice, openshot,
+ YOU !
Contact:
https://wiki.tizen.org/wiki/User:Pcoval

More Related Content

PDF
webthing-floss-iot-20180607rzr
PDF
Framework for IoT Interoperability
PDF
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
PDF
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
PDF
GENIVI + OCF Cooperation
PDF
Tizen RT: A Lightweight RTOS Platform for Low-End IoT Devices
PDF
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
PDF
IoTivity: Smart Home to Automotive and Beyond
webthing-floss-iot-20180607rzr
Framework for IoT Interoperability
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
GENIVI + OCF Cooperation
Tizen RT: A Lightweight RTOS Platform for Low-End IoT Devices
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
IoTivity: Smart Home to Automotive and Beyond

What's hot (19)

PDF
IoTivity: From Devices to the Cloud
PDF
Easy IoT with JavaScript
PDF
JerryScript on RIOT
PDF
Introduction to Linux-wpan and Potential Collaboration
PDF
IoT Meets Security
PDF
SOSCON 2016 JerryScript
PDF
Development Boards for Tizen IoT
PDF
Toward "OCF Automotive" profile
PDF
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Things
PDF
6LoWPAN: An Open IoT Networking Protocol
PDF
Introduction to IoT.JS
PDF
Devoxx 2015 - Building the Internet of Things with Eclipse IoT
PDF
Rapid SPi Device Driver Development over USB
PDF
Open Source Internet of Things 101 – EclipseCon 2016
PDF
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity
PDF
Tizen Connected with IoTivity
PDF
ORTC Library - Introduction
PDF
BKK16-500K2 CTO talk - The End to End Story
PDF
Iotivity atmel-20150328rzr
IoTivity: From Devices to the Cloud
Easy IoT with JavaScript
JerryScript on RIOT
Introduction to Linux-wpan and Potential Collaboration
IoT Meets Security
SOSCON 2016 JerryScript
Development Boards for Tizen IoT
Toward "OCF Automotive" profile
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Things
6LoWPAN: An Open IoT Networking Protocol
Introduction to IoT.JS
Devoxx 2015 - Building the Internet of Things with Eclipse IoT
Rapid SPi Device Driver Development over USB
Open Source Internet of Things 101 – EclipseCon 2016
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity
Tizen Connected with IoTivity
ORTC Library - Introduction
BKK16-500K2 CTO talk - The End to End Story
Iotivity atmel-20150328rzr
Ad

Viewers also liked (20)

PDF
IoTivity on Tizen: How to
PDF
Connected Tizen: Bringing Tizen to Your Connected Devices Using the Yocto Pro...
PPTX
platform open mind Renault Twizy
PDF
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
PDF
Enlightenment as Standalone Wayland Compositor
PDF
osvehicle-connected-20160429
PDF
Clang: More than just a C/C++ Compiler
PDF
Run Your Own 6LoWPAN Based IoT Network
PDF
OCF/IoTivity for Healthcare/Fitness/Wearable
PDF
Enlightenment: A Cross Platform Window Manager & Toolkit
PDF
A Survivor's Guide to Contributing to the Linux Kernel
PDF
How to Contribute to GStreamer
PDF
The Story of Enlightenment, EFL, Tizen and Wayland
PDF
Samsung & The Path to Open Source Leadership (OBC)
PPTX
Why is Open Source Important to Samsung and What Are We Doing About It?
PDF
Open Governance for Tizen 3.0
PDF
EFL (Tizen Native Display Layer – Architecture & Usage) - Carsten Haitzler
PDF
Enlightenment Foundation Libraries (Overview)
PDF
ODP
EFL: Scaling From the Embedded World to the Desktop
IoTivity on Tizen: How to
Connected Tizen: Bringing Tizen to Your Connected Devices Using the Yocto Pro...
platform open mind Renault Twizy
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Enlightenment as Standalone Wayland Compositor
osvehicle-connected-20160429
Clang: More than just a C/C++ Compiler
Run Your Own 6LoWPAN Based IoT Network
OCF/IoTivity for Healthcare/Fitness/Wearable
Enlightenment: A Cross Platform Window Manager & Toolkit
A Survivor's Guide to Contributing to the Linux Kernel
How to Contribute to GStreamer
The Story of Enlightenment, EFL, Tizen and Wayland
Samsung & The Path to Open Source Leadership (OBC)
Why is Open Source Important to Samsung and What Are We Doing About It?
Open Governance for Tizen 3.0
EFL (Tizen Native Display Layer – Architecture & Usage) - Carsten Haitzler
Enlightenment Foundation Libraries (Overview)
EFL: Scaling From the Embedded World to the Desktop
Ad

Similar to IoTivity for Automotive IoT Interoperability (20)

PDF
PDF
IoTivity for Automotive: meta-ocf-automotive tutorial
PDF
IoT: From Arduino MicroControllers to Tizen Products Using IoTivity - Philipp...
PDF
ONOS SDN-IP: Tutorial and Use Case for SDX
PDF
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris
 
PDF
The Complex IoT Equation (and FLOSS solutions)
PPTX
Open Source Edge Computing Platforms - Overview
PDF
webthing-iotjs-tizenrt-cdl2018-20181117rzr
PPTX
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
PDF
Eclipse IoT Overview
PDF
webthing-iotjs-20181027rzr
PDF
Model-driven Telemetry: The Foundation of Big Data Analytics
PDF
Future Internet: Managing Innovation and Testbed
PDF
IoT projects in Eclipse Foundation using LwM2M (IoT World 2017 Workshop)
PPT
Osgis2011 edina addy_pope
PPT
Osgis2011 edina addy_pope
PDF
Cloud Computing in Mobile
PDF
Microservices Application Tracing Standards and Simulators - Adrians at OSCON
PDF
OGF Introductory Overview - OGF 44 at EGI Conference 2015
PPTX
OSHI - Open Source Hybrid IP/SDN networking @EWSDN14
IoTivity for Automotive: meta-ocf-automotive tutorial
IoT: From Arduino MicroControllers to Tizen Products Using IoTivity - Philipp...
ONOS SDN-IP: Tutorial and Use Case for SDX
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris
 
The Complex IoT Equation (and FLOSS solutions)
Open Source Edge Computing Platforms - Overview
webthing-iotjs-tizenrt-cdl2018-20181117rzr
Leveraging the strength of OSGi to deliver a convergent IoT Ecosystem - O Log...
Eclipse IoT Overview
webthing-iotjs-20181027rzr
Model-driven Telemetry: The Foundation of Big Data Analytics
Future Internet: Managing Innovation and Testbed
IoT projects in Eclipse Foundation using LwM2M (IoT World 2017 Workshop)
Osgis2011 edina addy_pope
Osgis2011 edina addy_pope
Cloud Computing in Mobile
Microservices Application Tracing Standards and Simulators - Adrians at OSCON
OGF Introductory Overview - OGF 44 at EGI Conference 2015
OSHI - Open Source Hybrid IP/SDN networking @EWSDN14

Recently uploaded (20)

PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
DOCX
The Five Best AI Cover Tools in 2025.docx
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PPTX
ai tools demonstartion for schools and inter college
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
System and Network Administration Chapter 2
PPTX
Online Work Permit System for Fast Permit Processing
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
Complete React Javascript Course Syllabus.pdf
PPTX
L1 - Introduction to python Backend.pptx
PDF
Digital Strategies for Manufacturing Companies
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
Materi-Enum-and-Record-Data-Type (1).pptx
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
medical staffing services at VALiNTRY
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
PPTX
Introduction to Artificial Intelligence
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
The Five Best AI Cover Tools in 2025.docx
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
ai tools demonstartion for schools and inter college
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
System and Network Administration Chapter 2
Online Work Permit System for Fast Permit Processing
Adobe Illustrator 28.6 Crack My Vision of Vector Design
Complete React Javascript Course Syllabus.pdf
L1 - Introduction to python Backend.pptx
Digital Strategies for Manufacturing Companies
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Materi-Enum-and-Record-Data-Type (1).pptx
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
medical staffing services at VALiNTRY
How Creative Agencies Leverage Project Management Software.pdf
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
2025 Textile ERP Trends: SAP, Odoo & Oracle
Introduction to Artificial Intelligence

IoTivity for Automotive IoT Interoperability

  • 1. Samsung Open Source Group 1Samsung Open Source Group Philippe Coval Samsung Open Source Group / SRUK philippe.coval@osg.samsung.com For Automotive IoT Interoperability Conference Libre Software and Hardware / Workshops Université de Rennes, France <2017-02-08>
  • 2. Samsung Open Source Group 2Samsung Open Source Group Bonjour tout le monde ! ● Philippe Coval – Software engineer of Samsung OSG (EU team) – Member of IoTivity, Tizen, Yocto, Automotive (GENIVI+AGL) projects – I am taking care about OS/hardware support, build & usages – Ask me for help: ● https://wiki.tizen.org/wiki/User:Pcoval
  • 3. Samsung Open Source Group 3Samsung Open Source Group Agenda ● What is Open connectivity ? ● What is IoTivity ? ● What is OCF automotive? ● A Vehicle to Infrastructure IoT demonstration ● Q&A or/and extras ?
  • 4. Samsung Open Source Group 4Samsung Open Source Group “Simplicity is the ultimate sophistication.” ~Leonardo da Vinci
  • 5. Samsung Open Source Group 5Samsung Open Source Group Open Connectivity Foundation ● “Providing the software Linking the Internet of Things” ● Creating a specification, based on open standards: – Resource based, RESTful architecture (Stateless. client/server...) – IETF, CoAP protocol (HTTP on UDP), CBOR (JSON in binary)... ● Sponsoring reference implementation: IoTivity – under Apache 2.0 license ● Rules: Part of standard only if – Specified and Implemented
  • 6. Samsung Open Source Group 6Samsung Open Source Group OCF Automotive profile's mission ● Provide OCF technology for connected cars, by proposing – A common definition of vehicle resources – A common way to interact with those (inside or outside vehicle) – Based on or bridging to existing standards ● Cooperative effort with existing FLOSS Automotive projects – Tizen, GENIVI, AGL, W3C, RVI ...
  • 7. Samsung Open Source Group 7Samsung Open Source Group IoTivity is a complete framework ● Hardware: CPU, MCU, Desktop, Mobile, SBC, Tizen devices ● OS: Many including GNU/Linux, Tizen, Yocto, Android or baremetal... ● C API: Data transmission (flash footprint ~128KiB-) – Resource Model / Serialization (CBOR) – Connectivity Abstraction: CoAP, Local IP Network, BT, BLE... – Discovery (UDP, Multicast), Security (DTLS/TLS) ● C++ API: Object Oriented (C++11) ● More Bindings: JavaScript (iotivity-node) ● + High level services – Data/Device Management, Hosting, Encapsulation, Cloud interface
  • 8. Samsung Open Source Group 8Samsung Open Source Group IoTivity is resources oriented ● Resource is identified by an URI – Composed of properties ● Declared by a ResourceType – Operations: CRUD+N ● Create, Read, Update, Delete+ Notify ● Use existing known resource models – From oneIoTa.org repository – Ie: sensors, geolocation... ● Or create new ones (new names) – Share for interoperability ● http://www.oneiota.org/revisions/1863 ● oic.r.sensor.illuminance.json ● /* … */ "definitions": {   "oic.r.sensor.illuminance": {     "properties": {       "illuminance": {         "type": "number",         "readOnly": true,         "description":     "Sensed luminous flux in lux." }  }  } /* … */ 
  • 9. Samsung Open Source Group 9Samsung Open Source Group Flow: Create, Read, Update, Delete, Notify IoTivity Server IoTivity Client(s) Local IP Network Registration of resource Handling new requests Set/Get/ing properties values Initialization as server Initialization as client Handling new clients Discovery of resource POST/PUT GET UDP Multicast + CoAP Notify updated resource Observe resource change & Handling propertiesOBSERVE
  • 10. Samsung Open Source Group 10 OCDoResource(...OC_REST_PUT …) onPut(... OCClientResponse ...) Example: Client updates server's resource OCInit(..., OC_SERVER); OCCreateResource( …, onOCEntity); { OCProcess(); } onOCEntity(entityHandlerRequest) { switch entityHandlerRequest->method { case 'POST: // Create value case 'PUT' : // Update new resource // handling the change case 'GET' : // READ current value ... OCDoResponse(&response); }} OCInit(..., OC_CLIENT); OCDoResource(...,OC_REST_DISCOVER, ...) onDiscover(... OCClientResponse ...) IoTivity Server IoTivity Client(s) IP NetworkIP Network ● Client sets resource's value ● Server is handling it – and responding
  • 11. Samsung Open Source Group 11 “Any sufficiently advanced technology is indistinguishable from magic.” ~ Arthur C. Clarke
  • 12. Samsung Open Source Group 12Samsung Open Source Group How to track defectives street lights? ● 1: Measure if outside's lighting is too dark – Using Embedded sensor in car (demo: I²C sensor) – Turn car's front light on automatically ● 2: Get position from satellites (GPS, Galileo) – From: car, mobile or any (demo: simulated) ● 3: Send notice to Internet (Cloud) – Using mobile data – 4: Forward information to city services (pull or push) ● 5: Agent is assigned – 6: to fix defective light ● 7: he can also check “open data” base from his mobile ● ... 11 2 3 5 6 4 7
  • 13. Samsung Open Source Group 13Samsung Open Source Group From devices to cloud (AutoLinux FOSDEM) https://vimeo.com/202478132#iotivity-artik-20170204rzr
  • 14. Samsung Open Source Group 14Samsung Open Source Group /GeoLocationResURI { latitude: 52.165, longitude: -2.21, } A Vehicle to Infrastructure notification service function handle(illuminance) {   if (gThreshold > illuminance) {     var data= { illuminance: illuminance,                 latitude: gGeo.latitude, longitude: gGeo.longitude };     sender.send(data); // { ARTIK's client.post(url...); } } } client.on("resourcefound", function(resource) {   if ("/IlluminanceResURI" === resource.resourcePath) {     resource.on("update", handle);   } else if ("/GeolocationResURI" === resource.resourcePath){     resource.on("update",       function(resource) { gGeo = resource.properties; }); } }; 1 2 /IlluminanceResURI { illuminance: 42 } https://api.artik.cloud/ { illuminance: 42, latitude: 52.165, longitude: -2.21 } 3 1
  • 15. Samsung Open Source Group 15Samsung Open Source Group Summary ● Open Connectivity establishes a specification – for interconnecting things, products, services – RESTful architecture based on existing standards (IETF, CoAP, Cbor) ● IoTivity implements it in C under Apache-2.0 license – Can run on micro controllers (baremetal) – Most Operating systems: GNU/Linux, Tizen, Yocto (GENIVI, LFAGL etc) – Other languages C++, JS are supported ● Automotive is one of OCF domains under development – Project is open to be extended with new technologies or services
  • 16. Samsung Open Source Group 16 Q&A or/and Extras ?
  • 17. Samsung Open Source Group 17Samsung Open Source Group IoTivity on LF AGL + Minnow max (OSHW) https://vimeo.com/156307187#iotivity-agl-demo-platform-20160222rzr
  • 18. Samsung Open Source Group 18Samsung Open Source Group Use GeoLocation resource in Tizen apps https://vimeo.com/164000646#tizen-genivi-20160424rzr
  • 19. Samsung Open Source Group 19Samsung Open Source Group References ● Entry points: – http://wiki.iotivity.org/automotive – https://openconnectivity.org/industries/automotive ● Going further: – https://openconnectivity.org/resources/iotivity – https://openconnectivity.org/resources/oneiota-data-model-tool – https://news.samsung.com/global/samsung-contributes-to-open-iot-showcase-at-ces-2017 ● Keep in touch online: – https://wiki.iotivity.org/community – https://wiki.tizen.org/wiki/Meeting – https://blogs.s-osg.org/author/pcoval/
  • 20. Samsung Open Source Group 20Samsung Open Source Group Merci / Trugarez Thanks / 고맙습니다 Samsung OSG, SRUK, SEF, SSI, Open Connectivity Foundation and members, LinuxFoundation, FLOSS Communities: Tizen, Yocto, EFL, LF AGL, GENIVI, eLinux, Local: LabFabFr, CampOSV, UR1 IETR Rennes, IMT Atlantique, IoTBzh. Resources: xkcd.com, FlatIcons (CC BY 3.0: Freepik,Scott de Jonge, Gregor Cresnar) Tools: Libreoffice, openshot, + YOU ! Contact: https://wiki.tizen.org/wiki/User:Pcoval