SlideShare a Scribd company logo
www.luxoft.co
m
Smart Device Link
Integration into Linux systems
June 2017
Author: Jeremiah Foster
Open Source Technologist
www.luxoft.co
m
Who am I?
• Jeremiah C. Foster, proud father of
Hannah and husband of Annika
• Huge FOSS fanboi and Debian user
• Open Source Technologist for Luxoft
• GENIVI Community Manager
www.luxoft.com
Purpose of this talk
• To let everyone know that it is possible to
integrate iOS and Android smart devices
into Linux based automotive systems
• To provide a route to collaboration and a
justification of why collaboration is so
important in the SDL case
www.luxoft.co
m
What are we talking about?
● A standardized way to connect
‘smartphone’ devices, namely iOS and
Android devices, to an in-vehicle
infotainment system running Linux via
‘Smart Device Link’
● This requires software libraries on both
the infotainment system and the
smartphone
www.luxoft.co
m
Smart Device Link is not AppLink
● “AppLink was originally a proprietary API
created by Ford
● Ford announced they were contributing
AppLink to the open-source under the name
SmartDeviceLink in 2013. Purchased Livio
● Livio engineers are the project maintainers
● AppLink is now the branded version of SDL
based off the open-source project”
www.luxoft.co
m
SDL consortium
Created by Ford and Toyota
the “SmartDeviceLink
Consortium, is a nonprofit
organization working to
manage an open source
software platform with the goal
of giving consumers more
choice in how they connect
and control their smartphone
apps on the road.”
www.luxoft.co
m
www.luxoft.co
m
SDL contribution model
• The consortium appears to be using a standard open source model using
permissive licenses: “smartdevicelink/sdl_core is licensed under the
BSD 3-clause "New" or "Revised" License
A permissive license similar to the BSD 2-Clause License, but with a 3rd clause
that prohibits others from using the name of the project or its contributors to
promote derived products without written consent.”
• All SDL Code is on GitHub, all documentation is open
• Project evolution is based on Apple’s Swift Evolution and offers a high degree
of transparency regarding decisions on what is included and what is rejected
• https://github.com/smartdevicelink/sdl_evolution
www.luxoft.co
m
www.luxoft.co
m
Project status
From the SDL GitHub README:
“We're ramping up our efforts to get SmartDeviceLink developed and maintained directly in
the open. For the Mobile libraries, we're expecting better integration soon, SDL Core is slightly
more complicated. We are currently working on generating documentation, creating a
developer portal, an open forum, Mobile validation, and everything else that we've been asked
for to renew the community's interest in this project. From a technical standpoint, SDL is
stable, and the most work is being put into making it a more robust solution for app
connectivity. We are, however, definitely looking for and interested in other people and
company's contributions to SDL whether it be feature based, bug fixes, healthy conversation,
or even just suggestions for improvement.”
www.luxoft.co
m
Features of SDL
• Provides a Text to Speech (TTS) interface to allow drivers to keep their eyes
on the road. Obviously this is a large safety benefit
• Provides the ability to control apps using SDL via the steering wheel
buttons as well as TTS
• Attempts to be vendor agnostic with regard to device; supports both iOS
devices and Android devices
• Allows for the control of user data on the head unit, including some
analytics functions
• Provide a policy engine for apps using the head unit
• Allow the OEM to use their own interface and preserve their brand
www.luxoft.co
m
Key requirements of SDL
● POSIX compliance for portability
● Transport protocol should be easy
to replace, modifiable
● Well documented APIs
www.luxoft.co
m
Architecture diagram
www.luxoft.co
m
HMI
● SDL comes with a generic HMI
● Look and feel highly customizable
● One option is to use Qt for HMI;
https://github.com/smartdevicelink/sdl_core/wiki/SDL-on-Linux-with-QT
○ Uses a rather old version of Qt (5.1), Qt now up to 5.9 with 5.10 due in November
○ Uses dbus for IPC as well as standard Qt modules like Qt Declarative
● Web based HMI
○ Depends on Chromium
○ Ember.js, Handlebars.js, jquery, native WebSocket libraries
○ Template based
www.luxoft.co
m
Template example
www.luxoft.co
m
www.luxoft.co
m
www.luxoft.co
m
Dependencies
www.luxoft.co
m
Web based HMI using WebSockets
www.luxoft.co
m
Competition
Apple’s CarPlay
Developed originally with BMW
Widely used
Proprietary and branded
Android Auto
Vast ecosystem
Google will sell services on top
Questions remain regard vehicle data
www.luxoft.co
m
Competition
Baidu Carlife
About one year old
China only
• MirroLink
• VNC Automotive
- See AGL talk, very good overview of
current approaches to the smart
device connectivity issue
• Bosch my spin
www.luxoft.co
m
Why collaboration is key
• SDL as a more open source solution is a bit behind in terms of feature
parity and adoption, collaboration will speed adoption
and improve quality
• Large complex projects can only work with broad and deep collaboration
• This is non-differentiating ‘middle-ware’ or plumbing
• If users and OEMs don’t control access to their data they miss out on the
opportunities that the data provides. This includes regulatory control, new
business models, personalization, policy, etc.
www.luxoft.co
m
SDL @ GitHub
www.luxoft.co
m
Existing work
• There is an OpenEmbedded meta layer for integration called meta-sdl
maintainer by Phong Tran.
- Phong has contributed to GENIVI and the GDP
- Code hosted at GitHub
- Brings in changes to log4cxx, bluez-tools, sdl-core
- Provides a systemd service file
• Adds a number of patches to sdl-core:
https://github.com/phongt/meta-sdl/blob/release/4.1.0/recipes-automotive/sdl-core/sdl-core_4.1.0.bb
www.luxoft.co
m
Chromium
• SDL’s web HMI has a dependency on Chromium
• Chromium is coming into GENIVI’s GDP and is largely complete. Igalia is responsible for
this work and has done a lot of work on Chromium. [See their slides from their talk on
porting Chromium to Wayland yesterday at ALS]
• Large project, huge code base
• https://github.com/OSSystems/meta-browser
- Yocto layers for browsers
• Still relies on X11 to a large extent (again, see the Igalia slides)
www.luxoft.co
m
www.luxoft.co
m
Summary for integrations
• Since both GENIVI and AGL are building Yocto based images an SDL recipe would have
greatest code re-use
• To address the largest possible user base, the proposal would be to put the SDL recipe in
meta-ivi-common which can feed into both AGL and GENIVI and even, potentially,
AUTOSAR. Any Yocto or OE based source build
www.luxoft.co
m
Thank you!

More Related Content

PPTX
Mozilla's Boot to Gecko (B2G)
PDF
Social Connections Amsterdam 2012 - Extensibility of IBM Connections
PDF
SFScon17 - Alessandro Narduzzo: " Organizing New Venture For A Dominant Design"
PDF
Developing XPages Applications
PDF
OpenNTF - DNUG November 2013
PDF
OpenNTF Overview 09/10
PPTX
Firefox smart phone os
Mozilla's Boot to Gecko (B2G)
Social Connections Amsterdam 2012 - Extensibility of IBM Connections
SFScon17 - Alessandro Narduzzo: " Organizing New Venture For A Dominant Design"
Developing XPages Applications
OpenNTF - DNUG November 2013
OpenNTF Overview 09/10
Firefox smart phone os

What's hot (20)

PPTX
OpenChain Automation Case Study - September to December 2021
PPTX
PhoneGap
ODP
OpenNTF and XPages January 2012
PDF
Open by Design
PDF
Using SW360 for OSS Compliance Management Process - A Toshiba Case Study for ...
PDF
LCU13: Discussion: ODP relationship to NFV
PDF
Contributing to Automotive Grade Linux (AGL) and GENIVI Development Platform ...
PDF
Toyota and Strategic Collaboration with the Community
PPTX
Nodebots : javascripting robotics
PDF
OpenChain Automation Case Study - September to December 2021
PDF
The internet of things in now , see how golang is a part of this evolution
PDF
Developing automotive Linux
PPTX
OpenChain: How to manage OSS licenses for CI/CD development
PDF
WebRTC Business Use Cases | WebRTC Conference & Expo III
PPTX
OpenStack Summit: How companies of all sizes leverage OpenStack based private...
PDF
SFScon 2020 - Davide Ricci - FOSS management and license compliance must come...
PPTX
The Growing Research that Open Source Owns the Future in Cloud
PDF
Cloud interoperability and open standards for digital india open infrasummit
PDF
Embarcadero's Connected Development
PDF
Introduction to AllJoyn
OpenChain Automation Case Study - September to December 2021
PhoneGap
OpenNTF and XPages January 2012
Open by Design
Using SW360 for OSS Compliance Management Process - A Toshiba Case Study for ...
LCU13: Discussion: ODP relationship to NFV
Contributing to Automotive Grade Linux (AGL) and GENIVI Development Platform ...
Toyota and Strategic Collaboration with the Community
Nodebots : javascripting robotics
OpenChain Automation Case Study - September to December 2021
The internet of things in now , see how golang is a part of this evolution
Developing automotive Linux
OpenChain: How to manage OSS licenses for CI/CD development
WebRTC Business Use Cases | WebRTC Conference & Expo III
OpenStack Summit: How companies of all sizes leverage OpenStack based private...
SFScon 2020 - Davide Ricci - FOSS management and license compliance must come...
The Growing Research that Open Source Owns the Future in Cloud
Cloud interoperability and open standards for digital india open infrasummit
Embarcadero's Connected Development
Introduction to AllJoyn
Ad

Similar to Smart Device Link Integration into Linux systems by Jeremiah Foster (20)

PDF
Open Source on Wheels - Tech Day by Init 2017
PDF
SCALE 2012: Automotive: new frontier for mobile Linux
PDF
Booth content from Maker Faire Bay Area 2012
PPT
PDF
Nhu Viet Nguyen "Architectural Features of Automotive"
PDF
Automotive: the Next Hot Mobile Platform for Linux
PDF
The Advent of Automotive Linux
PPTX
Enhanced_Middleware_HMI_Presentation.pptx
PDF
Pavlo Zhdanov "Java and Swift: How to Create Applications for Automotive Head...
PPTX
Middleware HMI jhukhyggygyg hjhgdgsrfftfgkgygggy
PDF
Addressing the hard problems of automotive Linux: networking and IPC
PPTX
Юрий Швалик «Apple and Google are converting car into smartphone?»
PDF
Next-Gen In-Vehicle Software Opportunities
PDF
The next frontier: open source in the car
PPTX
The Raspberry Pi JavaFX Carputer
PDF
The Java Carputer
PDF
Tizen IVI - Rusty Lynch (Intel) - Korea Linux Forum 2012
PDF
K vector embedded_linux_workshop
PPTX
Automotive 101: Current Trends Viacheslav Salnikov
PDF
Audi - TCU Project - H Schumacher
Open Source on Wheels - Tech Day by Init 2017
SCALE 2012: Automotive: new frontier for mobile Linux
Booth content from Maker Faire Bay Area 2012
Nhu Viet Nguyen "Architectural Features of Automotive"
Automotive: the Next Hot Mobile Platform for Linux
The Advent of Automotive Linux
Enhanced_Middleware_HMI_Presentation.pptx
Pavlo Zhdanov "Java and Swift: How to Create Applications for Automotive Head...
Middleware HMI jhukhyggygyg hjhgdgsrfftfgkgygggy
Addressing the hard problems of automotive Linux: networking and IPC
Юрий Швалик «Apple and Google are converting car into smartphone?»
Next-Gen In-Vehicle Software Opportunities
The next frontier: open source in the car
The Raspberry Pi JavaFX Carputer
The Java Carputer
Tizen IVI - Rusty Lynch (Intel) - Korea Linux Forum 2012
K vector embedded_linux_workshop
Automotive 101: Current Trends Viacheslav Salnikov
Audi - TCU Project - H Schumacher
Ad

More from Luxoft (9)

PDF
Case study rapid growth compels leading antivirus software company software l...
PDF
Case study luxoft helps leading av solution provider media luxoft for polymedia
PDF
Case study luxoft fx position keeping banking luxoft for top3largest bank in ...
PDF
Case study commodity value chain banking luxoft for one of the largest global...
PDF
Brochure of luxoft automotive software by luxoft software development
PDF
Brochure of luxoft aerospace expertise
PDF
Brochure of Luxoft telecom solutions by Luxoft software development
PDF
Brochure of luxoft automotive software by luxoft software development
PDF
Brochure of luxoft aerospace expertise by luxoft software engineering
Case study rapid growth compels leading antivirus software company software l...
Case study luxoft helps leading av solution provider media luxoft for polymedia
Case study luxoft fx position keeping banking luxoft for top3largest bank in ...
Case study commodity value chain banking luxoft for one of the largest global...
Brochure of luxoft automotive software by luxoft software development
Brochure of luxoft aerospace expertise
Brochure of Luxoft telecom solutions by Luxoft software development
Brochure of luxoft automotive software by luxoft software development
Brochure of luxoft aerospace expertise by luxoft software engineering

Recently uploaded (20)

PPTX
Gayatri Cultural Educational Society.pptx
PDF
EC300D LR EC300DLR - Volvo Service Repair Manual.pdf
PDF
Caterpillar CAT 311B EXCAVATOR (8GR00001-UP) Operation and Maintenance Manual...
PPTX
capstoneoooooooooooooooooooooooooooooooooo
PPTX
Paediatric History & Clinical Examination.pptx
DOCX
lp of food hygiene.docxvvvvvvvvvvvvvvvvvvvvvvv
PPT
ACCOMPLISHMENT REPOERTS AND FILE OF GRADE 12 2021.ppt
PDF
Honda Dealership SNS Evaluation pdf/ppts
PDF
Volvo EC300D L EC300DL excavator weight Manuals.pdf
PPTX
Intro to ISO 9001 2015.pptx for awareness
PPTX
Zeem: Transition Your Fleet, Seamlessly by Margaret Boelter
PDF
How much horsepower does a Volvo EC210Cl have.pdf
PDF
Presentation.pdf ...............gjtn....tdubsr..........
PPTX
Materi Kuliah Umum Prof. Hsien Tsai Wu.pptx
PDF
Caterpillar Cat 315C Excavator (Prefix CJC) Service Repair Manual Instant Dow...
PPTX
1. introduction-to-bvcjdhjdfffffffffffffffffffffffffffffffffffmicroprocessors...
PDF
Volvo EC20C Excavator Step-by-step Maintenance Instructions pdf
PDF
Physics class 12thstep down transformer project.pdf
PPTX
IMMUNITY TYPES PPT.pptx very good , sufficient
PPTX
TOEFL ITP Grammar_ Clausessssssssssssssssss.pptx
Gayatri Cultural Educational Society.pptx
EC300D LR EC300DLR - Volvo Service Repair Manual.pdf
Caterpillar CAT 311B EXCAVATOR (8GR00001-UP) Operation and Maintenance Manual...
capstoneoooooooooooooooooooooooooooooooooo
Paediatric History & Clinical Examination.pptx
lp of food hygiene.docxvvvvvvvvvvvvvvvvvvvvvvv
ACCOMPLISHMENT REPOERTS AND FILE OF GRADE 12 2021.ppt
Honda Dealership SNS Evaluation pdf/ppts
Volvo EC300D L EC300DL excavator weight Manuals.pdf
Intro to ISO 9001 2015.pptx for awareness
Zeem: Transition Your Fleet, Seamlessly by Margaret Boelter
How much horsepower does a Volvo EC210Cl have.pdf
Presentation.pdf ...............gjtn....tdubsr..........
Materi Kuliah Umum Prof. Hsien Tsai Wu.pptx
Caterpillar Cat 315C Excavator (Prefix CJC) Service Repair Manual Instant Dow...
1. introduction-to-bvcjdhjdfffffffffffffffffffffffffffffffffffmicroprocessors...
Volvo EC20C Excavator Step-by-step Maintenance Instructions pdf
Physics class 12thstep down transformer project.pdf
IMMUNITY TYPES PPT.pptx very good , sufficient
TOEFL ITP Grammar_ Clausessssssssssssssssss.pptx

Smart Device Link Integration into Linux systems by Jeremiah Foster

  • 1. www.luxoft.co m Smart Device Link Integration into Linux systems June 2017 Author: Jeremiah Foster Open Source Technologist
  • 2. www.luxoft.co m Who am I? • Jeremiah C. Foster, proud father of Hannah and husband of Annika • Huge FOSS fanboi and Debian user • Open Source Technologist for Luxoft • GENIVI Community Manager
  • 3. www.luxoft.com Purpose of this talk • To let everyone know that it is possible to integrate iOS and Android smart devices into Linux based automotive systems • To provide a route to collaboration and a justification of why collaboration is so important in the SDL case
  • 4. www.luxoft.co m What are we talking about? ● A standardized way to connect ‘smartphone’ devices, namely iOS and Android devices, to an in-vehicle infotainment system running Linux via ‘Smart Device Link’ ● This requires software libraries on both the infotainment system and the smartphone
  • 5. www.luxoft.co m Smart Device Link is not AppLink ● “AppLink was originally a proprietary API created by Ford ● Ford announced they were contributing AppLink to the open-source under the name SmartDeviceLink in 2013. Purchased Livio ● Livio engineers are the project maintainers ● AppLink is now the branded version of SDL based off the open-source project”
  • 6. www.luxoft.co m SDL consortium Created by Ford and Toyota the “SmartDeviceLink Consortium, is a nonprofit organization working to manage an open source software platform with the goal of giving consumers more choice in how they connect and control their smartphone apps on the road.”
  • 8. www.luxoft.co m SDL contribution model • The consortium appears to be using a standard open source model using permissive licenses: “smartdevicelink/sdl_core is licensed under the BSD 3-clause "New" or "Revised" License A permissive license similar to the BSD 2-Clause License, but with a 3rd clause that prohibits others from using the name of the project or its contributors to promote derived products without written consent.” • All SDL Code is on GitHub, all documentation is open • Project evolution is based on Apple’s Swift Evolution and offers a high degree of transparency regarding decisions on what is included and what is rejected • https://github.com/smartdevicelink/sdl_evolution
  • 10. www.luxoft.co m Project status From the SDL GitHub README: “We're ramping up our efforts to get SmartDeviceLink developed and maintained directly in the open. For the Mobile libraries, we're expecting better integration soon, SDL Core is slightly more complicated. We are currently working on generating documentation, creating a developer portal, an open forum, Mobile validation, and everything else that we've been asked for to renew the community's interest in this project. From a technical standpoint, SDL is stable, and the most work is being put into making it a more robust solution for app connectivity. We are, however, definitely looking for and interested in other people and company's contributions to SDL whether it be feature based, bug fixes, healthy conversation, or even just suggestions for improvement.”
  • 11. www.luxoft.co m Features of SDL • Provides a Text to Speech (TTS) interface to allow drivers to keep their eyes on the road. Obviously this is a large safety benefit • Provides the ability to control apps using SDL via the steering wheel buttons as well as TTS • Attempts to be vendor agnostic with regard to device; supports both iOS devices and Android devices • Allows for the control of user data on the head unit, including some analytics functions • Provide a policy engine for apps using the head unit • Allow the OEM to use their own interface and preserve their brand
  • 12. www.luxoft.co m Key requirements of SDL ● POSIX compliance for portability ● Transport protocol should be easy to replace, modifiable ● Well documented APIs
  • 14. www.luxoft.co m HMI ● SDL comes with a generic HMI ● Look and feel highly customizable ● One option is to use Qt for HMI; https://github.com/smartdevicelink/sdl_core/wiki/SDL-on-Linux-with-QT ○ Uses a rather old version of Qt (5.1), Qt now up to 5.9 with 5.10 due in November ○ Uses dbus for IPC as well as standard Qt modules like Qt Declarative ● Web based HMI ○ Depends on Chromium ○ Ember.js, Handlebars.js, jquery, native WebSocket libraries ○ Template based
  • 19. www.luxoft.co m Web based HMI using WebSockets
  • 20. www.luxoft.co m Competition Apple’s CarPlay Developed originally with BMW Widely used Proprietary and branded Android Auto Vast ecosystem Google will sell services on top Questions remain regard vehicle data
  • 21. www.luxoft.co m Competition Baidu Carlife About one year old China only • MirroLink • VNC Automotive - See AGL talk, very good overview of current approaches to the smart device connectivity issue • Bosch my spin
  • 22. www.luxoft.co m Why collaboration is key • SDL as a more open source solution is a bit behind in terms of feature parity and adoption, collaboration will speed adoption and improve quality • Large complex projects can only work with broad and deep collaboration • This is non-differentiating ‘middle-ware’ or plumbing • If users and OEMs don’t control access to their data they miss out on the opportunities that the data provides. This includes regulatory control, new business models, personalization, policy, etc.
  • 24. www.luxoft.co m Existing work • There is an OpenEmbedded meta layer for integration called meta-sdl maintainer by Phong Tran. - Phong has contributed to GENIVI and the GDP - Code hosted at GitHub - Brings in changes to log4cxx, bluez-tools, sdl-core - Provides a systemd service file • Adds a number of patches to sdl-core: https://github.com/phongt/meta-sdl/blob/release/4.1.0/recipes-automotive/sdl-core/sdl-core_4.1.0.bb
  • 25. www.luxoft.co m Chromium • SDL’s web HMI has a dependency on Chromium • Chromium is coming into GENIVI’s GDP and is largely complete. Igalia is responsible for this work and has done a lot of work on Chromium. [See their slides from their talk on porting Chromium to Wayland yesterday at ALS] • Large project, huge code base • https://github.com/OSSystems/meta-browser - Yocto layers for browsers • Still relies on X11 to a large extent (again, see the Igalia slides)
  • 27. www.luxoft.co m Summary for integrations • Since both GENIVI and AGL are building Yocto based images an SDL recipe would have greatest code re-use • To address the largest possible user base, the proposal would be to put the SDL recipe in meta-ivi-common which can feed into both AGL and GENIVI and even, potentially, AUTOSAR. Any Yocto or OE based source build