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 Software Engineer for Automotive (2013 ~ Present) Email : hariasti.srimaldia-1@jp.alps.com Furu rukaw kawa Plant Tokyo Headqu dquar arter ter 2
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
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
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
Company Profile ★ To provide best solution to the customers ★ 6
Company Profile Keyless Entry Infotainment Hands free BT Vehicle positioning detect Audio streaming Keyless entry Phone book download BLE Car sharing service Wireless MirrorLink Mostly support Linux OS V2X Wi-Fi ALPS Autonomous Connectivity Network Vehicle for Vehicle access Tethering V2V / V2I Web browsing High accuracy positioning Emergency call 3D Map updating Vehicle data for diagnostic Mostly support Linux OS GNSS LTE/5G ALPS eager to support all car connectivity platforms (Genivi, AGL, etc) 7
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
ALPS Activity in AGL Jan, 2017 Oct, 2016 Wi-Fi Bluetooth Automotive applications are Start Linux May, 2016 merged into CC Summit contribution Connectivity was June 2017 distribution to AGL for not supported. Wi-Fi and April, 2015 Participate in Bluetooth Joined AGL AGL event, especially Connectivity EG 9
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
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
Bluetooth and Wi- Fi’s APIs in CC - 3 Wi-Fi Bluetooth Wi-Fi UI -> +QT ALPS QML QML Bluetooth UI (QML) Company Contribution http/websocket http/websocket Wi-Fi API (Plugin) Bluetooth API (Plugin) C C dbus dbus AGL security framework AGL dbus dbus Connman dbus Linux BlueZ wpa_supplicant Linux API Linux API Wi-Fi Driver Bluetooth Driver Bluetooth device Wi-Fi device (USB dongle) (USB dongle) 12
List of APIs in CC API API Features Features (verb name) (verb name) BLUETOOTH Wi-Fi Power ON/OFF power Power ON activate Start Scanning start_discovery Power OFF deactivate Stop Scanning stop_discovery Start scanning scan Display scan result discovery_result Display scan result scan Pairing pair Connection connect Remove pairing remove_device Disconnection disconnect Cancel pairing cancel_pair Check connection status status Connection connect Input password security Disconnection disconnect Set device property set_property 13
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
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
Bluetooth and Wi- Fi’s APIs in CC - 2 Wi-Fi and Bluetooth Application in CC (Charming Chinook) Support Wi-Fi and Bluetooth Not yet support receive event basic features and connection Not yet support security on Support AGL framework framework Compatible with BlueZ No yet support websocket and connman Not yet support network Connect UI and API via management http protocol Lot of things to do to make it better… 16
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
Demo 1. AGL Reference Environment 18
Demo 1. AGL Reference Environment USB BT AGL Reference Board Dongle Porter Renesas M2 HDMI USB Speaker HDMI Display Upload Demo video on youtube : https://www.youtube.com/watch?v=HLEcL7M_-eY&feature=youtu.be 19
Demo 1. AGL Reference Environment Bluetooth LIVE scan paired connected DEMO Wi-Fi Input connected scan Password 20
Demo 2. AGL ft. ALPS Product 21
AGL ft. ALPS Product DEMO VIDEO 22
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
List of APIs in CC API API Features Features (verb name) (verb name) Wi-Fi BLUETOOTH Power ON activate Power ON/OFF power Power OFF deactivate Start scanning scan Start Scanning start_discovery Display scan result scan Stop Scanning stop_discovery Connection connect Display scan result discovery_result Disconnection disconnect Pairing pair Check connection status status Remove pairing remove_device Input password security Cancel pairing cancel_pair Add events eventadd Subcribes event evensub Connection connect Pushes event eventpush Disconnection disconnect Unsubscribes event evetunsub Set device property set_property Deletes event eventdel 24
Latest version in Master branch Wi-Fi and Bluetooth Application in Master Branch Not yet support security on Support Wi-Fi and Bluetooth framework basic features and connection Not yet support network Support AGL framework management Compatible with BlueZ and connman Connect UI and API via We need help http protocol to make it better! Support receive event Support websocket 25
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
Conclusion 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 27
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 28 28
Recommend
More recommend