Toward "OCF Automotive" profile

19
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 [email protected]

Transcript of Toward "OCF Automotive" profile

Page 1: Toward "OCF Automotive" profile

Samsung Open Source Group 1

Toward “OCF Automotive” profileLFAGL F2F meeting

<2016-05-27>

https://wiki.automotivelinux.org/agl-distro/may2016-f2f

Philippe CovalSamsung Open Source Group / SRUK

[email protected]

Page 2: Toward "OCF Automotive" profile

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

Page 3: Toward "OCF Automotive" profile

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.

Page 4: Toward "OCF Automotive" profile

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

Page 5: Toward "OCF Automotive" profile

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 ?

Page 6: Toward "OCF Automotive" profile

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

Page 7: Toward "OCF Automotive" profile

Samsung Open Source Group 7

Iotivity-agl-demo-platform-201602

https://vimeo.com/156307187/

Page 8: Toward "OCF Automotive" profile

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...

Page 9: Toward "OCF Automotive" profile

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

Page 10: Toward "OCF Automotive" profile

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

Page 11: Toward "OCF Automotive" profile

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.

Page 12: Toward "OCF Automotive" profile

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

Page 13: Toward "OCF Automotive" profile

Samsung Open Source Group 13

iotivity-gears2-20160427rzr

Page 14: Toward "OCF Automotive" profile

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 ?

Page 15: Toward "OCF Automotive" profile

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 ?

Page 16: Toward "OCF Automotive" profile

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)

Page 17: Toward "OCF Automotive" profile

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

Page 18: Toward "OCF Automotive" profile

Samsung Open Source Group 18

References

● Entry points :– https://wiki.iotivity.org/community

– https://wiki.iotivity.org/yocto

● Mentioned :– http://oneiota.org

– https://www.w3.org/auto/wg/

– https://github.com/tizenteam/iotivitymap

● Related :– https://blogs.s-osg.org/osg-ocf-automotive-fortnight/

– https://blogs.s-osg.org/iotivity-ready-automotive/

– http://elinux.org/Category:Automotive

Page 19: Toward "OCF Automotive" profile

Samsung Open Source Group 19

Samsung OSG, LinuxFoundation, Open Connnectivity Foundation,

GENIVI, CampOsv, Intel OTC, IoTBzh,Libreoffice, OpenShot, FlatIcons (CC BY 2.0),

YOU !

Contact:https://wiki.tizen.org/wiki/User:Pcoval

고맙습니다 / Thank you