1. Samsung Open Source Group 1
Toward “OCF Automotive” profile
LFAGL F2F meeting
<2016-05-27>
https://wiki.automotivelinux.org/agl-distro/may2016-f2f
Philippe Coval
Samsung Open Source Group / SRUK
philippe.coval@osg.samsung.com
2. Samsung Open Source Group 2
Who am I ?
● Philippe Coval
– Software Engineer for Samsung OSG
● Belongs to SRUK team, based in Rennes France
● Tizen co maintainer and IoTivity commiter
– Worked along past Tizen and current AGL members
– Interests :
● Libre Soft/Hard/ware, Communities, Interoperability, DIY.
– Find me online
● https://wiki.tizen.org/wiki/User:Pcoval
3. Samsung Open Source Group 3
Is Automotive a thing ?
● A car might become to transport
– what a phone is
● to oral communication
● It can do that
– But it is and can do much more !
● Car is a network of networks
● So 4 wheeled computers will be part of IoT !
– But one problem at the time.
4. Samsung Open Source Group 4
IoT needs
● Trust & Adoption
– Key Features : Security, Interoperability
● So Openness :
– Open Specification
– FLOSS
– Open governance
– Community & Industry support
– IP Protection
5. Samsung Open Source Group 5
Open Connectivity Foundation
● Open Connectivity Foundation
– Defines open specification, FLOSS implementation
– Reasonable and non-discriminatory licensing (RAND-Z)
– OIC certifies members' (170+) devices
● to ensure : interoperability, adoption, time
● Profile based
– Health
– SmartHome
– So Automotive ?
6. Samsung Open Source Group 6
● C/C++ library : FLOSS (Apache 2.0)
● Key Features :
– Resource Discovery (Multicast)
– Client Server model (RESTfull, CoAP, CBOR)
– Secure Transmission (DTLS)
– Designed to support any transports
● IP, BT, BLE, WiFi, + plugins (Zigbee, LTE, NFC, ...)
– Data & Device management
7. Samsung Open Source Group 7
Iotivity-agl-demo-platform-201602
https://vimeo.com/156307187/
8. Samsung Open Source Group 8
Why OCF Automotive Profile ?
● To play along other
– Profiles / products : SmartHome devices, Cars
– Network : IP, WiFi, BT, BLE, to LTE? LPWAN?
● Could Support Automotive's :
– Protocols : CAN...
– Technologies : RVI...
– Operating Systems :
● Linux, Yocto, AGL, Tizen, GENIVI...
9. Samsung Open Source Group 9
Multi context scenarios
● At (Smart) Home :
– Notification from/to car :
● Kids reached school, Mom reached office
● Door/Hood unlock warning, Alarms...
● In a (Smart) Car :
– control, monitor events from/to home
● Open door, tune A/C, turn on light etc
● Shopping list updated, suggest new trajectory
● With a (Smart) Phone, Watch, Whatever
– Peripherals control : HVAC control from devices
10. Samsung Open Source Group 10
It started with Demos !
● iotivity-agl-demo-platform-20160222rzr
– https://vimeo.com/156307187/
● tizen-genivi-20160424rzr
– https://vimeo.com/164000646
● iotivity-gears2-20160427rzr
– https://youtu.be/Y7gwAlaoq5U
● Genivi OCF Demonstrator 20160427
– https://youtu.be/351m-GrRSNE?t=59
11. Samsung Open Source Group 11
How we did it ?
● On embedded device : (VTC1010 or MinnowMax)
– Integration of IoTivity (meta-oic layer)
● IoTivity Servers for : Peripheral Fan & GPS
– Remote Vehicle Interaction (RVI)
● On commercialized devices :
– IoTiovity clients apps
● Map view of GPS, switch buttons (Tizen Mobile and Wearable)...
● Outside
– RVI to OCF gateway (nodejs ubuntu)
– Gateway can reside in cloud, smarthome or vehicle.
12. Samsung Open Source Group 12
AGL Status
● Automotive Grade Linux
– Has meta-oic but it's not enough
– Noticed Issues with recent poky (security checks)
● IoTivity desired version ?
– 1.1.0 : aligned to upstream (working to upstream)
– Or back port to 1.0.1 ?
● And pick meta-genivi-ocf-demos
● Build agl image with iotivity gps / map app :
– git clone meta-yocto-demos ; git branch -a | grep agl
● Stay tuned at : https://wiki.iotivity.org/yocto
14. Samsung Open Source Group 14
Possible future
● Join our forces, define common interfaces
● Then deeper integration on platforms for :
– Communities
● Public infrastructures, SmartCities ?
– Technologies
● Network (Radio)
● Web/Services
– Services & Usages
● Interact with environment
● Using existing commercialized devices
● meta-ocf-automotive ?
15. Samsung Open Source Group 15
Resource definitions and more...
● Same semantics
– But different representations or technology ?
● Vehicle Signal Specification (VSS)
– From RVI (dynamic with include mechanism) YAML based
● W3C is moving from WebIDL to WebSocket
– VSS will be adopted as the W3C standard
● OCF uses RAML (based on YAML too)
● Translation before Unification ?
– Share resources definition
● Generic types and logic, Visibility and security ?
16. Samsung Open Source Group 16
IoTivity is a RESTful architecture
● oneiota.org
– Data Model repository
– RESTful API Modeling Language
● RAML > JSON > CBOR
– Example : OICGeolocaiton
● http://www.oneiota.org/revisions/946
● Usage :
– Web Service Interface (WSI)
17. Samsung Open Source Group 17
Summary
● Automotive are part of IoT
● OCF/IoTivity
– is an open technology
– Profile oriented
● Try our ConnectedCar demos
● Next, move to standardization
– OIC automotive profile group is open to all