Application in AGL Charming Chinook 2 nd June 2017 SRI MALDIA HARI - - PowerPoint PPT Presentation

application in agl charming chinook
SMART_READER_LITE
LIVE PREVIEW

Application in AGL Charming Chinook 2 nd June 2017 SRI MALDIA HARI - - PowerPoint PPT Presentation

Introducing Wi-Fi and Bluetooth Application in AGL Charming Chinook 2 nd June 2017 SRI MALDIA HARI ASTI Introduction SRI MALDIA HARI ASTI (ALPS Electric Japan) Location : Furukawa Osaki City Miyagi Prefecture Japan Wi-Fi


slide-1
SLIDE 1

Introducing Wi-Fi and Bluetooth Application in AGL Charming Chinook

2nd June 2017 SRI MALDIA HARI ASTI

slide-2
SLIDE 2

Introduction

 SRI MALDIA HARI ASTI (ALPS Electric Japan)  Location : Furukawa – Osaki City – Miyagi Prefecture – Japan  Wi-Fi Software Engineer for Automotive (2013 ~ Present)  Email : hariasti.srimaldia-1@jp.alps.com

Furu rukaw kawa Plant Tokyo Headqu dquar arter ter

2

slide-3
SLIDE 3

Abstract

ALPS Electric has become a member since 2015 and decided to directly contribute into connectivity field of AGL. We have been developing application for Wi-Fi and Bluetooth for AGL, including middle layer(API) and UI, which works on AGL application framework. Our applications have been merged to Charming Chinook distribution, however not yet been presented in public. This talk will introduce about Wi-Fi and Bluetooth application in AGL Charming Chinook and listed APIs we have inside, as guidance to any developers who would like to apply Wi-Fi and Bluetooth connection into their application into AGL.

3

slide-4
SLIDE 4

Outline ①Company Profile ②ALPS Activity in AGL ③Bluetooth and Wi-Fi’s APIs in CC (Charming Chinook) ④Live Demo and Result

4-1 AGL Reference Environment 4-2 AGL ft. ALPS product

⑤Latest version in Master Branch ⑥Conclusion

4

slide-5
SLIDE 5

Outline ①Company Profile ②ALPS Activity in AGL ③Bluetooth and Wi-Fi’s APIs in CC ④Live Demo and Result

4-1 AGL Reference Environment 4-2 AGL ft. ALPS product

⑤Latest version in Master Branch ⑥Conclusion

5

slide-6
SLIDE 6

Company Profile

★ To provide best solution to the customers ★

6

slide-7
SLIDE 7

ALPS Connectivity for Vehicle

BT BLE Wi-Fi

LTE/5G

GNSS V2X

Company Profile

Autonomous Vehicle Keyless Entry Infotainment Network access

 V2V / V2I  High accuracy positioning  3D Map updating  Vehicle positioning detect  Keyless entry  Car sharing service  Hands free  Audio streaming  Phone book download  Wireless MirrorLink  Mostly support Linux OS  Tethering  Web browsing  Emergency call  Vehicle data for diagnostic  Mostly support Linux OS

ALPS eager to support all car connectivity platforms (Genivi, AGL, etc)

7

slide-8
SLIDE 8

Outline ①Company Profile ②ALPS Activity in AGL ③Bluetooth and Wi-Fi’s APIs in CC (Charming Chinook) ④Live Demo and Result

4-1 AGL Reference Environment 4-2 AGL ft. ALPS product

⑤Latest version in Master Branch ⑥Conclusion

8

slide-9
SLIDE 9

ALPS Activity in AGL

9

April, 2015

Joined AGL

May, 2016

Connectivity was not supported. Participate in AGL event, especially Connectivity EG

Oct, 2016

Start contribution to AGL for Wi-Fi and Bluetooth

Jan, 2017

Wi-Fi Bluetooth applications are merged into CC distribution

Automotive Linux Summit June 2017

slide-10
SLIDE 10

Outline ①Company Profile ②ALPS Activity in AGL ③Bluetooth and Wi-Fi’s APIs in CC (Charming Chinook) ④Live Demo and Result

4-1 AGL Reference Environment 4-2 AGL ft. ALPS product

⑤Latest version in Master Branch ⑥Conclusion

10

slide-11
SLIDE 11

Bluetooth and Wi-Fi’s APIs in CC - 1

ALPS source code has been merged!  Charming Chinook branch (support http protocol): $ git clone https://gerrit.automotivelinux.org/gerrit/apps/settings -b chinook  Master branch (support websocket) $ git clone https://gerrit.automotivelinux.org/gerrit/apps/settings UI API

11

slide-12
SLIDE 12

Bluetooth and Wi-Fi’s APIs in CC - 3

Wi-Fi device (USB dongle)

wpa_supplicant

Connman

AGL security framework

Wi-Fi API (Plugin)

Wi-Fi UI -> +QT Company

Wi-Fi Driver

http/websocket

Bluetooth device (USB dongle)

BlueZ

Bluetooth API (Plugin) Bluetooth UI (QML)

Bluetooth Driver

http/websocket

Bluetooth

dbus dbus dbus dbus dbus Linux API Linux API

C QML

ALPS Contribution

Linux

AGL C QML

Wi-Fi

12

slide-13
SLIDE 13

List of APIs in CC

Features API (verb name) BLUETOOTH Power ON/OFF power Start Scanning start_discovery Stop Scanning stop_discovery Display scan result discovery_result Pairing pair Remove pairing remove_device Cancel pairing cancel_pair Connection connect Disconnection disconnect Set device property set_property Features API (verb name) Wi-Fi Power ON activate Power OFF deactivate Start scanning scan Display scan result scan Connection connect Disconnection disconnect Check connection status status Input password security

13

slide-14
SLIDE 14

Bluetooth Application Example in CC

UI (User Interface) @ app/bluetooth/Bluetooth.qml http://localhost/<port>/Bluetooth-manager/power?value=1 API @ binding-bluetooth/bluetooh-api.c

14

slide-15
SLIDE 15

Wi-Fi Application Example in CC

UI (User Interface) @ app/wifi/Wifi.qml http://localhost/<port>/wifi-manager/activate API @ binding-wifi/wifi-api.c

15

slide-16
SLIDE 16

Bluetooth and Wi-Fi’s APIs in CC - 2

Wi-Fi and Bluetooth Application in CC (Charming Chinook) Support Wi-Fi and Bluetooth basic features and connection Support AGL framework Compatible with BlueZ and connman Not yet support receive event Not yet support security on framework Connect UI and API via http protocol No yet support websocket Not yet support network management

16

Lot of things to do to make it better…

slide-17
SLIDE 17

Outline ①Company Profile ②ALPS Activity in AGL ③Bluetooth and Wi-Fi’s APIs in CC (Charming Chinook) ④Live Demo and Result

4-1 AGL Reference Environment 4-2 AGL ft. ALPS Product

⑤Latest version in Master Branch ⑥Conclusion

17

slide-18
SLIDE 18

18

Demo 1. AGL Reference Environment

slide-19
SLIDE 19

Demo 1. AGL Reference Environment

Upload Demo video on youtube : https://www.youtube.com/watch?v=HLEcL7M_-eY&feature=youtu.be

AGL Reference Board Porter Renesas M2 USB BT Dongle HDMI USB Speaker HDMI Display

19

slide-20
SLIDE 20

Demo 1. AGL Reference Environment

Wi-Fi Bluetooth

scan paired connected scan Input Password connected

20

LIVE DEMO

slide-21
SLIDE 21

21

Demo 2. AGL ft. ALPS Product

slide-22
SLIDE 22

AGL ft. ALPS Product

DEMO VIDEO

22

slide-23
SLIDE 23

Outline ①Company Profile ②ALPS Activity in AGL ③Bluetooth and Wi-Fi’s APIs in CC (Charming Chinook) ④Live Demo and Result

4-1 AGL Reference Environment 4-2 AGL ft. ALPS product

⑤Latest version in Master Branch ⑥Conclusion

23

slide-24
SLIDE 24

List of APIs in CC

Features API (verb name) BLUETOOTH Power ON/OFF power Start Scanning start_discovery Stop Scanning stop_discovery Display scan result discovery_result Pairing pair Remove pairing remove_device Cancel pairing cancel_pair Connection connect Disconnection disconnect Set device property set_property

Features API (verb name) Wi-Fi Power ON activate Power OFF deactivate Start scanning scan Display scan result scan Connection connect Disconnection disconnect Check connection status status Input password security Add events eventadd Subcribes event evensub Pushes event eventpush Unsubscribes event evetunsub Deletes event eventdel

24

slide-25
SLIDE 25

Latest version in Master branch

Wi-Fi and Bluetooth Application in Master Branch Support Wi-Fi and Bluetooth basic features and connection Support AGL framework Compatible with BlueZ and connman Support receive event Not yet support security on framework Connect UI and API via http protocol Support websocket Not yet support network management

25

We need help to make it better!

slide-26
SLIDE 26

Outline ①Company Profile ②ALPS Activity in AGL ③Bluetooth and Wi-Fi’s APIs in CC ④Live Demo and Result

4-1 AGL Reference Environment 4-2 AGL ft. ALPS product

⑤Latest version in Master Branch ⑥Conclusion

26

slide-27
SLIDE 27

Conclusion

27

  • 1. AGL finally supports Bluetooth and Wi-Fi connectivity pioneered by ALPS
  • 2. ALPS Product (Hardware and Software) compatible with AGL platform
  • 3. ALPS invites everybody to improve Bluetooth and Wi-Fi application as one of

AGL OSS applications by submitting advice and/or patches into JIRA and Gerrit

  • 4. Contact us for further ALPS hardware and software information

ALPS Electric Co,.Ltd http://www.alps.com/e/index.html SRI MALDIA HARI ASTI hariasti.srimaldia-1@jp.alps.com

slide-28
SLIDE 28

28

28

ALPS Connectivity Solutions for Automotive

Creating new value that satisfies stakeholders and is friendly to the Earth

Advancing society and caring for the environment through perfecting electronics