SlideShare a Scribd company logo
This work is licensed under a Creative Commons Attribution-Share Alike 4.0 (CC BY-SA 4.0)
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries
Copyright © GENIVI Alliance 20165-Oct-16
1
Genivi OCF Demonstrator
2016-04-27 | 14th
Genivi AMM
A collaborative effort by
Genivi
JLR
Samsung
This work is licensed under a Creative Commons Attribution­Share Alike 4.0 (CC BY­SA 4.0)
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries
Copyright © GENIVI Alliance 2016 5-Oct-16
2
IoTivity connects GDP to Tizen
2016-04-27 | IoT development
IoTivity connects GDP to Tizen
2016-04-27 | IoT development
Philippe Coval
Software Engineer
Samsung OpenSource Group
Philippe Coval
Software Engineer
Samsung OpenSource Group
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries
Copyright © GENIVI Alliance 2016
●
Why ?
– Infinite use cases: monitoring, convergence, behaviour, AI...
●
What ?
– Linking user's devices together in a secure way
– Cross products applications or services
●
How ?
– Open protocols, standards and FLOSS
●
When ?
5-Oct-15
3
Connected devices : It's all about interconnection
What is Open Connectivity Foundation
“OCF is a standard & open source project
that delivers “just-works” interconnectivty
for developers, manufacturers and end
users.”
OCF Approach to Standardization & Adoption
A SPEC + Open Source Implementation approach
openconnectivity.org
Specification & certification
Open Specification
IP protection and branding
WG & TG* headed by industry experts
Certification by OCF
www.iotivity.org
Open Source Implementation
Apache 2.0 License
Linux Foundation co-operative project
Android, iOS, Tizen, Linux, RTOS
Open governance model
OCF Specification
OCF
OCF Members (~170 and growing)
Diamond
Platinum
Gold
IoTivity Architecture
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries
Copyright © GENIVI Alliance 2016
●
: a FLOSS software plaform based on GNU/Linux
– Split into Profiles : Wearable, Mobile, TV, IVI...
– Shipped into Consumer Electronic products:
●
Gear S, Z1, Z3, Gear S2, TVs J*
●
: Seemsless device to device connectivity framework for IoT
– C/C++ FLOSS library (Apache 2)
– IoTivity is part of Tizen 3.0 platform
– Can be integrated into Tizen 2.x products
5-Oct-15
9
What is Tizen / IoTivity ?
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries
Copyright © GENIVI Alliance 2016
●
Genivi Demo platform
– is a Yocto based Linux distribution for IVI
– so supports meta-oic yocto layer that brings IoTivity
●
Let's prototype a Server
– Exposes a physical resource (MinnowMax's GPIO)
– Share a virtual GPS position to near devices
●
And use Tizen devices as clients to interact with
5-Oct-15
10
IoTivity on GDP
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries
Copyright © GENIVI Alliance 2016
●
https://vimeo.com/164000646#tizen-genivi-20160424rzr
5-Oct-15
11
IoTivity on GDP
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries
Copyright © GENIVI Alliance 2016
5-Oct-15
12
IoTivity Client / Server Flow
OCPlatform::Configure(OC::PlatformConfig )
OCPlatform::registerResource
...
OC::EntityHandler(OCResourceRequest) {
switch(getRequestType) {
case 'GET' :
...
OCPlatform::sendResponse();;
case 'PUT' :
...
OCPlatform::sendResponse()
OCPlatform::notifyAllObservers();;
}}
OCPlatform::findResource(...)
OCPlatform::Configure(OC::PlatformConfig )
OC::FindCallback(...)
OCResource::observe()
OC::OCResource::put(...)
OC::PullCallback(...)
OC::OCResource::get(...)
OC::GetCallback(...)
IoTivity Server
(on Genivi)
IoTivity Client(s)
(on Tizen)
OC:ObserveCallback(...)
IP Network (* multicast for discovery)
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries
Copyright © GENIVI Alliance 2016
●
Entry points:
– https://wiki.iotivity.org/community
– https://wiki.iotivity.org/tizen
– https://at.projects.genivi.org/jira/projects/GOCF
●
Related:
– http://slideshare.net/SamsungOSG/iotivity-on-tizen-how-to
– http://blogs.s-osg.org/iotivity-ready-automotive/
– https://github.com/TizenTeam/
5-Oct-15
13
References
Keep in touch
● Questions ?
– Contact me online for support or resources
– https://wiki.tizen.org/wiki/User:Pcoval
– irc://irc.freenode.net/#automotive
● Thank you:
– GENIVI, Samsung OSG
– Intel/Minnowboard, CampOSV, Flaticons (CC BY 2.0)
This work is licensed under a Creative Commons Attribution­Share Alike 4.0 (CC BY­SA 4.0)
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries
Copyright © GENIVI Alliance 2016 5-Oct-16
15
RVI Details
2016-04-27 | 14th
Genivi AMM
RVI Details
2016-04-27 | 14th
Genivi AMM
Anson Fan
Architect
JLR
Anson Fan
Architect
JLR
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries
Copyright © GENIVI Alliance 2016
27-April-16 16
RVI Service Flow
Node 1 “Client” Node 2 “Server”
Connect
Register Service X Service X Available
Service X Callback Send Service X:
a=b
TLS Transport
Message Received
Got:
a=b
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries
Copyright © GENIVI Alliance 2016
27-April-16 17
RVI JSON-RPC
{
"jsonrpc“ : "2.0",
"id“ : "1",
"method“ : "message",
"params“ : {
"timeout“ : 1559388884,
"service_name“ : “genivi.org/node/vehicle_id/rvi/vehiclecontrol",
"parameters“ : {
"function“ : "fanSpeed",
"newValue“ : 20,
"target“ : "SETHVAC"
}
}
}
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries
Copyright © GENIVI Alliance 2016
27-April-16 18
GDP Application Architecture
HTTP/WS
Qt/QML
D-Bus Connector
CAN interface
CAN Router
HVAC
RVI
Service
Handlers
OCF GatewayD-Bus
CAN
Qt/QML
D-Bus Connector
SmartHome
RVI
GDP
Apps
This work is licensed under a Creative Commons Attribution­Share Alike 4.0 (CC BY­SA 4.0)
GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries
Copyright © GENIVI Alliance 2016 5-Oct-16
19
Realizing Connected Car Scenarios
With IoTivity and RVI
2016-04-27 | 14th
Genivi AMM
Realizing Connected Car Scenarios
With IoTivity and RVI
2016-04-27 | 14th
Genivi AMM
Sanjeev BA
Senior Engineer
Samsung OpenSource Group
Sanjeev BA
Senior Engineer
Samsung OpenSource Group
Background
● Developers looking for niche areas
– Direct revenues from apps slowing down
– 52% make < $1000 / month
● 53% working on IoT related apps already.
– Estimated 5.5 Million mobile app devs.
– Smart Home and Wearables
● Users already have app fatigue
* Source : VisionMobile™ Developer Economics Q1 2015: State of the Developer Nation
Challenges
IoT & Connected Services
Critical
Consumer Specific
Just in TimeRegulatory User Context
Customization
SDK Overload for Developers
Developer.
Tizen.org
Developer.
android.com
Developer.
apple.com
developers.facebook
.com
developer.paypal.
com
dev.twitter.com
Iotivity SDK
Weave SDK
MQTT SDK
Platform
SDK
Web Service SDKIoT SDK
Proprietary
SDKs
Connected
Car SDK
App Developer (ex. Streaming Music Service)
Siloed Connected Car Ecosystems
Store 1
{ Subset #2 of Apps }
Store 2
{ Subset #1 of Apps }
Store 3
{ Subset #3 of Apps }
Car Makers / OEM
Group 1
Car Makers / OEM
Group 2
Car Makers / OEM
Group 3
App Overload for Users
Smart
Things
Flipkart
Sonos
Sphero
Car
Twitter
Skype Hue
User
!=
Service
Integrator
Approaches
How to make this simpler ?
For users, developers &
service providers
Dedicated Hub + Cloud Service Model
IoT
Network
AppApp
Cloud Service
Service Plugin Model
Web Service PluginPlugin
Download
Server
IoT
Network
AppApp
Cloud Service
Distributed App Control Model
IoT Network
Distributed App Control
AppApp
IoT
Protocol
AppApp
App
Service
Integration
Backend
IoTivity Web Service Interface
Web Service Interface
Enabler of interactions
From IoTivity devices to a variety of Services
Service abstraction
Web
Service
Interface
IoTivity
NetworkIoTivity
Device
IoTivity
Device
IoT Data Stays Local
Service Access
Credentials Caching
RESTful
Web Services
VoIP
Services
“Other”
Services
Service Representation : JSON Blocks
"name":“Openweathermap",
"id":“org.openweathermap",
"description":“A service that has weather for more than 200,000
cities",
“logo" : "http://openweathermap.org/images/OWM_logo32_32.png"
SERVICE META DATA
"tags":[
"search",
“weather”
]
SERVICE TAGS
Service Representation : JSON Blocks
capability:[ 
{ 
id : org.openweathermap.findbycity,
isauthrequired : true,
description : Find the weather by cityname string.,
endpoint : api.openweathermap.org/data/2.5/weather?
endpointtype : REST,
operation : GET,
params :{
q : {{cityname}}
},
response :{
<response JSON body format>
}
CAPABILITY DESCRIPTION
Service Description details
Mustache syntax for variables
{{ variable }}
Services
Authorization Section
Capability Section
Params Section
Cues using tags
Extensible and customizable
Service Representation : JSON Blocks
auth:{ 
      type :oauth2.0,
      subtype :application-only,
      appcredentials: { 
      cust_key :{{cust_key}}
      cust_sec :{{cust_secret}}
      oauth_key :{{oauth_key}}
      oauth_sec :{{oauth_secret}}
}
}
Supported Types : Supported SubTypes :
oauth2.0, application-only
oauth1.0a, client credentials
oauth1.0 oob
AUTH SECTION
Putting it all together
Web Services Interface
Platform
Adaptation
Linux
nodejs
Android Web
WSI API Interface
Service
Management
Service Request
Processing
Config
& Caching
Auth
Workflow
ManagementWSI
Daemon /
Service
Tizen
RVI Service Description
"capability": [
{
"cid": "org.genivi.rvi.connect",
"isauthrequired": "false",
"description": "Connect to RVI.",
"endpoint": "{{rviurl}}",
"endpointtype": "rvi",
"chain" : "http://localhost:8081/callback",
"operation": "RVICONNECT"
},
{
"cid": "org.genivi.rvi.send",
"isauthrequired": "false",
"description": "Post Message to RVI.",
"endpoint": "{{rviurl}}",
"endpointtype": "rvi",
"operation": "RVISEND",
"params": {
"message": "None"
}
}
Connect Capability
Send Capability
Notify URL for remote RVI msgs.
Genivi OCF Demo Theme
• Vehicle to Smart Device Control
• Associating a set of devices using rules
• Executing the rule to change device states
• Getting the status of home devices
• Smart Device to Vehicle Control
• Control Vehicle Parameters (HVAC, Temperature)
• Getting the status of Vehicle
• Notifications
• Vehicle Location Notifications
https://at.projects.genivi.org/wiki/display/PROJ/GENIVI-OCF+Demonstrator
OCF Smart Home
Tizen
Z1
Tizen
Gear
S2
OCF to RVI
Bridging Gateway
Simulated OCF Devices
Smart TV Aircon
RVI
Services
App #1
App
#2
Genivi Head Unit
Android
Nexus
Tizen
Z3
RVI­OCF Gateway Demo Concept
Openness
What did we publish ?
git clone https://gerrit.iotivity.org/gerrit/iotivity
(wsi-dev branch)
Tizen Mobile/Wearable & Android applications
http://git.projects.genivi.org/?p=meta-genivi-ocf-demo.git;a=summary
* cleanup and publishing to be done post demo
Openness
What did we publish ?
git clone https://gerrit.iotivity.org/gerrit/iotivity
(wsi-dev branch)
Tizen Mobile/Wearable & Android applications
http://git.projects.genivi.org/?p=meta-genivi-ocf-demo.git;a=summary
* cleanup and publishing to be done post demo
Challenges Addressed
App Overload ?App Overload ?SDK Overload ?SDK Overload ?
Siloed Ecosystems ?Siloed Ecosystems ? New IoT Apps ?New IoT Apps ?
Developer.
Tizen.org
Developer.
android.com
Developer.
apple.com
developers.facebook.com
developer.paypal.
com
dev.twitter.com
Iotivity SDK
AllJoyn SDK
MQTT SDK
Platf
orm
SDK
Web Service SDK
IoT
SDK
Smart
Things
Flipkar
t
Sonos
Sphero
Path
Twitter
Skype Hue
Store 1
Store 2 Store 3
He
alth
car
e
Ser
vic
e
User Context
Location + Time
Smart Home +
Retail
Partial No
Open Standards
OCF & RVI
Yes !!!

More Related Content

PDF
osvehicle-connected-20160429
PDF
OIC AGL Collaboration
PDF
Toward "OCF Automotive" profile
PDF
tdc2015-strategy-devel-20150916
PDF
IoTivity: Smart Home to Automotive and Beyond
PDF
IoTivity on Tizen: How to
PDF
IoTivity: From Devices to the Cloud
PDF
GENIVI + OCF Cooperation
osvehicle-connected-20160429
OIC AGL Collaboration
Toward "OCF Automotive" profile
tdc2015-strategy-devel-20150916
IoTivity: Smart Home to Automotive and Beyond
IoTivity on Tizen: How to
IoTivity: From Devices to the Cloud
GENIVI + OCF Cooperation

What's hot (20)

PDF
OCF/IoTivity for Healthcare/Fitness/Wearable
PDF
Connected Tizen: Bringing Tizen to Your Connected Devices Using the Yocto Pro...
PDF
GENIVI Development Platform, la plataforma para desarrolladores de software l...
PDF
Tizen Connected with IoTivity
PPTX
Utilisation de la plateforme virtuelle QEMU/SystemC pour l'IoT
PDF
webthing-floss-iot-20180607rzr
PDF
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris
 
PDF
WP8 - Pilot – Testbed
PDF
Examining the emergent open source IoT ecosystem - IoT World Europe 2016
PPTX
Why IoT needs Open Source Communities
PPTX
The Right Tools for IoT Developers – Dan Gross @ Eclipse IoT Day ThingMonk 2016
PDF
OSGi -Simplifying the IoT Gateway - Walt Bowers
PDF
2016 07-20-wp4-q2 f2 f berlin
PDF
LCU14 Keynote by George Grey
PDF
Business and IoT Economic Alchemy or Another Anticlimax - March 2016 - OSGi A...
PDF
OSGi IoT Demo & Contest 2015
PDF
Mp25: Mobile dev with QT and Python for the Notorious N9
PDF
2016 07-20-wp1-q2 f2 f berlin
PDF
François Cartegnie - VideoLAN - OSL19
PDF
OSGi IoT Demo @ CeBIT 2016
OCF/IoTivity for Healthcare/Fitness/Wearable
Connected Tizen: Bringing Tizen to Your Connected Devices Using the Yocto Pro...
GENIVI Development Platform, la plataforma para desarrolladores de software l...
Tizen Connected with IoTivity
Utilisation de la plateforme virtuelle QEMU/SystemC pour l'IoT
webthing-floss-iot-20180607rzr
The complex IoT equation, and FLOSS solutions, OW2con'18, June 7-8, 2018, Paris
 
WP8 - Pilot – Testbed
Examining the emergent open source IoT ecosystem - IoT World Europe 2016
Why IoT needs Open Source Communities
The Right Tools for IoT Developers – Dan Gross @ Eclipse IoT Day ThingMonk 2016
OSGi -Simplifying the IoT Gateway - Walt Bowers
2016 07-20-wp4-q2 f2 f berlin
LCU14 Keynote by George Grey
Business and IoT Economic Alchemy or Another Anticlimax - March 2016 - OSGi A...
OSGi IoT Demo & Contest 2015
Mp25: Mobile dev with QT and Python for the Notorious N9
2016 07-20-wp1-q2 f2 f berlin
François Cartegnie - VideoLAN - OSL19
OSGi IoT Demo @ CeBIT 2016
Ad

Viewers also liked (12)

PDF
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity
PDF
Jornada Formativa Qualcomm y Movilforum: Alljoyn
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
Contributing to Automotive Grade Linux (AGL) and GENIVI Development Platform ...
PDF
Development Boards for Tizen IoT
PDF
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
PDF
IoTivity for Automotive IoT Interoperability
PDF
국내외 Io t 기술 표준
PPT
Проект "Экономика родного края"
PDF
Internet of Things
PDF
English book 3 teacher 2015 - 2016
IoT: From Arduino Microcontrollers to Tizen Products using IoTivity
Jornada Formativa Qualcomm y Movilforum: Alljoyn
Samsung & The Path to Open Source Leadership (OBC)
Why is Open Source Important to Samsung and What Are We Doing About It?
Contributing to Automotive Grade Linux (AGL) and GENIVI Development Platform ...
Development Boards for Tizen IoT
IoTivity Tutorial: Prototyping IoT Devices on GNU/Linux
IoTivity for Automotive IoT Interoperability
국내외 Io t 기술 표준
Проект "Экономика родного края"
Internet of Things
English book 3 teacher 2015 - 2016
Ad

Similar to IoTivity Connects RVI from GENIVI's Develoment Platform to Tizen devices (20)

PDF
Genivi paris open source summit 2016 intro
PDF
GDP-ivi9 What's new in the open source demo platform for automotive
PDF
FIWARE Overview
PDF
Open Source for automotive developed in the open becomes real. GDP
PDF
FI Workshop Sesión Inaugural TID Chile
PPTX
3° Fiware Overview-Chile- Track
PPT
Shibboleth Federations and Secure SDI
PPT
OGC Web Service Shibboleth Interoperability Experiment
PDF
A Survey of Interoperability among Surveillance System using ONVIF
PPTX
3° Fiware Overview-Chile
PDF
Tizen IVI - Rusty Lynch (Intel) - Korea Linux Forum 2012
PDF
Cutomize and Control Connected Devices
PDF
Customize and control connected devices
PDF
WSO2 ITALIA SMART TALK #4 - Telefonica Use Case
PDF
apidays Paris 2022 - Blurred Lines, Denis Jannot, Solo.io
PDF
[WSO2 Summit Brazil 2018] The API-driven World
PDF
Fiware overview3
PDF
Open Source IoT Project Flogo - Introduction, Overview and Architecture
PDF
Janus conf'19: janus client side
PDF
apidays LIVE London 2021 - Advanced Authentication patterns at the Edge by De...
Genivi paris open source summit 2016 intro
GDP-ivi9 What's new in the open source demo platform for automotive
FIWARE Overview
Open Source for automotive developed in the open becomes real. GDP
FI Workshop Sesión Inaugural TID Chile
3° Fiware Overview-Chile- Track
Shibboleth Federations and Secure SDI
OGC Web Service Shibboleth Interoperability Experiment
A Survey of Interoperability among Surveillance System using ONVIF
3° Fiware Overview-Chile
Tizen IVI - Rusty Lynch (Intel) - Korea Linux Forum 2012
Cutomize and Control Connected Devices
Customize and control connected devices
WSO2 ITALIA SMART TALK #4 - Telefonica Use Case
apidays Paris 2022 - Blurred Lines, Denis Jannot, Solo.io
[WSO2 Summit Brazil 2018] The API-driven World
Fiware overview3
Open Source IoT Project Flogo - Introduction, Overview and Architecture
Janus conf'19: janus client side
apidays LIVE London 2021 - Advanced Authentication patterns at the Edge by De...

More from Samsung Open Source Group (19)

PDF
The Complex IoT Equation (and FLOSS solutions)
PDF
Easy IoT with JavaScript
PDF
Spawny: A New Approach to Logins
PDF
Rapid SPi Device Driver Development over USB
PDF
Tizen RT: A Lightweight RTOS Platform for Low-End IoT Devices
PDF
IoTivity for Automotive: meta-ocf-automotive tutorial
PDF
Framework for IoT Interoperability
PDF
Open Source Metrics to Inform Corporate Strategy
PDF
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
PDF
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
PDF
SOSCON 2016 JerryScript
PDF
Run Your Own 6LoWPAN Based IoT Network
PDF
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
PDF
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Things
PDF
Clang: More than just a C/C++ Compiler
PDF
Introduction to Linux-wpan and Potential Collaboration
PDF
JerryScript on RIOT
PDF
Introduction to IoT.JS
PDF
6LoWPAN: An Open IoT Networking Protocol
The Complex IoT Equation (and FLOSS solutions)
Easy IoT with JavaScript
Spawny: A New Approach to Logins
Rapid SPi Device Driver Development over USB
Tizen RT: A Lightweight RTOS Platform for Low-End IoT Devices
IoTivity for Automotive: meta-ocf-automotive tutorial
Framework for IoT Interoperability
Open Source Metrics to Inform Corporate Strategy
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Thin...
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
SOSCON 2016 JerryScript
Run Your Own 6LoWPAN Based IoT Network
Practical Guide to Run an IEEE 802.15.4 Network with 6LoWPAN Under Linux
JerryScript: An ultra-lighteweight JavaScript Engine for the Internet of Things
Clang: More than just a C/C++ Compiler
Introduction to Linux-wpan and Potential Collaboration
JerryScript on RIOT
Introduction to IoT.JS
6LoWPAN: An Open IoT Networking Protocol

Recently uploaded (20)

PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
AI in Product Development-omnex systems
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PPTX
history of c programming in notes for students .pptx
PDF
medical staffing services at VALiNTRY
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Transform Your Business with a Software ERP System
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Understanding Forklifts - TECH EHS Solution
PDF
System and Network Administration Chapter 2
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
System and Network Administraation Chapter 3
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Introduction to Artificial Intelligence
Design an Analysis of Algorithms II-SECS-1021-03
Which alternative to Crystal Reports is best for small or large businesses.pdf
AI in Product Development-omnex systems
ManageIQ - Sprint 268 Review - Slide Deck
Internet Downloader Manager (IDM) Crack 6.42 Build 41
history of c programming in notes for students .pptx
medical staffing services at VALiNTRY
L1 - Introduction to python Backend.pptx
Transform Your Business with a Software ERP System
CHAPTER 2 - PM Management and IT Context
How Creative Agencies Leverage Project Management Software.pdf
Understanding Forklifts - TECH EHS Solution
System and Network Administration Chapter 2
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
How to Migrate SBCGlobal Email to Yahoo Easily
System and Network Administraation Chapter 3
Odoo POS Development Services by CandidRoot Solutions
Wondershare Filmora 15 Crack With Activation Key [2025
Introduction to Artificial Intelligence

IoTivity Connects RVI from GENIVI's Develoment Platform to Tizen devices

  • 1. This work is licensed under a Creative Commons Attribution-Share Alike 4.0 (CC BY-SA 4.0) GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries Copyright © GENIVI Alliance 20165-Oct-16 1 Genivi OCF Demonstrator 2016-04-27 | 14th Genivi AMM A collaborative effort by Genivi JLR Samsung
  • 2. This work is licensed under a Creative Commons Attribution­Share Alike 4.0 (CC BY­SA 4.0) GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries Copyright © GENIVI Alliance 2016 5-Oct-16 2 IoTivity connects GDP to Tizen 2016-04-27 | IoT development IoTivity connects GDP to Tizen 2016-04-27 | IoT development Philippe Coval Software Engineer Samsung OpenSource Group Philippe Coval Software Engineer Samsung OpenSource Group
  • 3. GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries Copyright © GENIVI Alliance 2016 ● Why ? – Infinite use cases: monitoring, convergence, behaviour, AI... ● What ? – Linking user's devices together in a secure way – Cross products applications or services ● How ? – Open protocols, standards and FLOSS ● When ? 5-Oct-15 3 Connected devices : It's all about interconnection
  • 4. What is Open Connectivity Foundation “OCF is a standard & open source project that delivers “just-works” interconnectivty for developers, manufacturers and end users.”
  • 5. OCF Approach to Standardization & Adoption A SPEC + Open Source Implementation approach openconnectivity.org Specification & certification Open Specification IP protection and branding WG & TG* headed by industry experts Certification by OCF www.iotivity.org Open Source Implementation Apache 2.0 License Linux Foundation co-operative project Android, iOS, Tizen, Linux, RTOS Open governance model
  • 9. GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries Copyright © GENIVI Alliance 2016 ● : a FLOSS software plaform based on GNU/Linux – Split into Profiles : Wearable, Mobile, TV, IVI... – Shipped into Consumer Electronic products: ● Gear S, Z1, Z3, Gear S2, TVs J* ● : Seemsless device to device connectivity framework for IoT – C/C++ FLOSS library (Apache 2) – IoTivity is part of Tizen 3.0 platform – Can be integrated into Tizen 2.x products 5-Oct-15 9 What is Tizen / IoTivity ?
  • 10. GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries Copyright © GENIVI Alliance 2016 ● Genivi Demo platform – is a Yocto based Linux distribution for IVI – so supports meta-oic yocto layer that brings IoTivity ● Let's prototype a Server – Exposes a physical resource (MinnowMax's GPIO) – Share a virtual GPS position to near devices ● And use Tizen devices as clients to interact with 5-Oct-15 10 IoTivity on GDP
  • 11. GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries Copyright © GENIVI Alliance 2016 ● https://vimeo.com/164000646#tizen-genivi-20160424rzr 5-Oct-15 11 IoTivity on GDP
  • 12. GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries Copyright © GENIVI Alliance 2016 5-Oct-15 12 IoTivity Client / Server Flow OCPlatform::Configure(OC::PlatformConfig ) OCPlatform::registerResource ... OC::EntityHandler(OCResourceRequest) { switch(getRequestType) { case 'GET' : ... OCPlatform::sendResponse();; case 'PUT' : ... OCPlatform::sendResponse() OCPlatform::notifyAllObservers();; }} OCPlatform::findResource(...) OCPlatform::Configure(OC::PlatformConfig ) OC::FindCallback(...) OCResource::observe() OC::OCResource::put(...) OC::PullCallback(...) OC::OCResource::get(...) OC::GetCallback(...) IoTivity Server (on Genivi) IoTivity Client(s) (on Tizen) OC:ObserveCallback(...) IP Network (* multicast for discovery)
  • 13. GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries Copyright © GENIVI Alliance 2016 ● Entry points: – https://wiki.iotivity.org/community – https://wiki.iotivity.org/tizen – https://at.projects.genivi.org/jira/projects/GOCF ● Related: – http://slideshare.net/SamsungOSG/iotivity-on-tizen-how-to – http://blogs.s-osg.org/iotivity-ready-automotive/ – https://github.com/TizenTeam/ 5-Oct-15 13 References
  • 14. Keep in touch ● Questions ? – Contact me online for support or resources – https://wiki.tizen.org/wiki/User:Pcoval – irc://irc.freenode.net/#automotive ● Thank you: – GENIVI, Samsung OSG – Intel/Minnowboard, CampOSV, Flaticons (CC BY 2.0)
  • 16. GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries Copyright © GENIVI Alliance 2016 27-April-16 16 RVI Service Flow Node 1 “Client” Node 2 “Server” Connect Register Service X Service X Available Service X Callback Send Service X: a=b TLS Transport Message Received Got: a=b
  • 17. GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries Copyright © GENIVI Alliance 2016 27-April-16 17 RVI JSON-RPC { "jsonrpc“ : "2.0", "id“ : "1", "method“ : "message", "params“ : { "timeout“ : 1559388884, "service_name“ : “genivi.org/node/vehicle_id/rvi/vehiclecontrol", "parameters“ : { "function“ : "fanSpeed", "newValue“ : 20, "target“ : "SETHVAC" } } }
  • 18. GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries Copyright © GENIVI Alliance 2016 27-April-16 18 GDP Application Architecture HTTP/WS Qt/QML D-Bus Connector CAN interface CAN Router HVAC RVI Service Handlers OCF GatewayD-Bus CAN Qt/QML D-Bus Connector SmartHome RVI GDP Apps
  • 19. This work is licensed under a Creative Commons Attribution­Share Alike 4.0 (CC BY­SA 4.0) GENIVI is a registered trademark of the GENIVI Alliance in the USA and other countries Copyright © GENIVI Alliance 2016 5-Oct-16 19 Realizing Connected Car Scenarios With IoTivity and RVI 2016-04-27 | 14th Genivi AMM Realizing Connected Car Scenarios With IoTivity and RVI 2016-04-27 | 14th Genivi AMM Sanjeev BA Senior Engineer Samsung OpenSource Group Sanjeev BA Senior Engineer Samsung OpenSource Group
  • 20. Background ● Developers looking for niche areas – Direct revenues from apps slowing down – 52% make < $1000 / month ● 53% working on IoT related apps already. – Estimated 5.5 Million mobile app devs. – Smart Home and Wearables ● Users already have app fatigue * Source : VisionMobile™ Developer Economics Q1 2015: State of the Developer Nation
  • 22. IoT & Connected Services Critical Consumer Specific Just in TimeRegulatory User Context Customization
  • 24. Siloed Connected Car Ecosystems Store 1 { Subset #2 of Apps } Store 2 { Subset #1 of Apps } Store 3 { Subset #3 of Apps } Car Makers / OEM Group 1 Car Makers / OEM Group 2 Car Makers / OEM Group 3
  • 26. Approaches How to make this simpler ? For users, developers & service providers
  • 29. Distributed App Control Model IoT Network Distributed App Control AppApp IoT Protocol AppApp App Service Integration Backend
  • 30. IoTivity Web Service Interface
  • 31. Web Service Interface Enabler of interactions From IoTivity devices to a variety of Services Service abstraction Web Service Interface IoTivity NetworkIoTivity Device IoTivity Device IoT Data Stays Local Service Access Credentials Caching RESTful Web Services VoIP Services “Other” Services
  • 32. Service Representation : JSON Blocks "name":“Openweathermap", "id":“org.openweathermap", "description":“A service that has weather for more than 200,000 cities", “logo" : "http://openweathermap.org/images/OWM_logo32_32.png" SERVICE META DATA "tags":[ "search", “weather” ] SERVICE TAGS
  • 33. Service Representation : JSON Blocks capability:[  {  id : org.openweathermap.findbycity, isauthrequired : true, description : Find the weather by cityname string., endpoint : api.openweathermap.org/data/2.5/weather? endpointtype : REST, operation : GET, params :{ q : {{cityname}} }, response :{ <response JSON body format> } CAPABILITY DESCRIPTION
  • 34. Service Description details Mustache syntax for variables {{ variable }} Services Authorization Section Capability Section Params Section Cues using tags Extensible and customizable
  • 35. Service Representation : JSON Blocks auth:{        type :oauth2.0,       subtype :application-only,       appcredentials: {        cust_key :{{cust_key}}       cust_sec :{{cust_secret}}       oauth_key :{{oauth_key}}       oauth_sec :{{oauth_secret}} } } Supported Types : Supported SubTypes : oauth2.0, application-only oauth1.0a, client credentials oauth1.0 oob AUTH SECTION
  • 36. Putting it all together Web Services Interface Platform Adaptation Linux nodejs Android Web WSI API Interface Service Management Service Request Processing Config & Caching Auth Workflow ManagementWSI Daemon / Service Tizen
  • 37. RVI Service Description "capability": [ { "cid": "org.genivi.rvi.connect", "isauthrequired": "false", "description": "Connect to RVI.", "endpoint": "{{rviurl}}", "endpointtype": "rvi", "chain" : "http://localhost:8081/callback", "operation": "RVICONNECT" }, { "cid": "org.genivi.rvi.send", "isauthrequired": "false", "description": "Post Message to RVI.", "endpoint": "{{rviurl}}", "endpointtype": "rvi", "operation": "RVISEND", "params": { "message": "None" } } Connect Capability Send Capability Notify URL for remote RVI msgs.
  • 38. Genivi OCF Demo Theme • Vehicle to Smart Device Control • Associating a set of devices using rules • Executing the rule to change device states • Getting the status of home devices • Smart Device to Vehicle Control • Control Vehicle Parameters (HVAC, Temperature) • Getting the status of Vehicle • Notifications • Vehicle Location Notifications
  • 39. https://at.projects.genivi.org/wiki/display/PROJ/GENIVI-OCF+Demonstrator OCF Smart Home Tizen Z1 Tizen Gear S2 OCF to RVI Bridging Gateway Simulated OCF Devices Smart TV Aircon RVI Services App #1 App #2 Genivi Head Unit Android Nexus Tizen Z3 RVI­OCF Gateway Demo Concept
  • 40. Openness What did we publish ? git clone https://gerrit.iotivity.org/gerrit/iotivity (wsi-dev branch) Tizen Mobile/Wearable & Android applications http://git.projects.genivi.org/?p=meta-genivi-ocf-demo.git;a=summary * cleanup and publishing to be done post demo
  • 41. Openness What did we publish ? git clone https://gerrit.iotivity.org/gerrit/iotivity (wsi-dev branch) Tizen Mobile/Wearable & Android applications http://git.projects.genivi.org/?p=meta-genivi-ocf-demo.git;a=summary * cleanup and publishing to be done post demo
  • 42. Challenges Addressed App Overload ?App Overload ?SDK Overload ?SDK Overload ? Siloed Ecosystems ?Siloed Ecosystems ? New IoT Apps ?New IoT Apps ? Developer. Tizen.org Developer. android.com Developer. apple.com developers.facebook.com developer.paypal. com dev.twitter.com Iotivity SDK AllJoyn SDK MQTT SDK Platf orm SDK Web Service SDK IoT SDK Smart Things Flipkar t Sonos Sphero Path Twitter Skype Hue Store 1 Store 2 Store 3 He alth car e Ser vic e User Context Location + Time Smart Home + Retail Partial No Open Standards OCF & RVI Yes !!!