challenges of developing ble application on android
TRANSCRIPT
![Page 1: Challenges of Developing BLE Application on Android](https://reader033.vdocument.in/reader033/viewer/2022042722/58a64c361a28ab6e368b5d63/html5/thumbnails/1.jpg)
Challenges of Developing Bluetooth Low Energy Application on Android
Gábor Guta
![Page 2: Challenges of Developing BLE Application on Android](https://reader033.vdocument.in/reader033/viewer/2022042722/58a64c361a28ab6e368b5d63/html5/thumbnails/2.jpg)
What is SBrick?
BLE controled analog input / output module for LEGO
![Page 3: Challenges of Developing BLE Application on Android](https://reader033.vdocument.in/reader033/viewer/2022042722/58a64c361a28ab6e368b5d63/html5/thumbnails/3.jpg)
Low Energy
Simple Android API
Widely Adapted
![Page 4: Challenges of Developing BLE Application on Android](https://reader033.vdocument.in/reader033/viewer/2022042722/58a64c361a28ab6e368b5d63/html5/thumbnails/4.jpg)
GATT (Generic Attribute Profile)
Profile
Service A
Service B
Characteristic 1
Characteristic 2
Characteristic 3
Characteristic 4
![Page 5: Challenges of Developing BLE Application on Android](https://reader033.vdocument.in/reader033/viewer/2022042722/58a64c361a28ab6e368b5d63/html5/thumbnails/5.jpg)
From Prototyping to Production
Stability
Reducing error localization time
Validation of assumptions
Remote troubleshooting
![Page 6: Challenges of Developing BLE Application on Android](https://reader033.vdocument.in/reader033/viewer/2022042722/58a64c361a28ab6e368b5d63/html5/thumbnails/6.jpg)
Hard to solve issues
Bugs in Android BLE stack implementations
different BLE HW (4 major manufacturers)
Hard to test stability
At the time of detecting a connection issue,it is too late to fix
![Page 7: Challenges of Developing BLE Application on Android](https://reader033.vdocument.in/reader033/viewer/2022042722/58a64c361a28ab6e368b5d63/html5/thumbnails/7.jpg)
Testing / Debugging
BLE traffic sniffing
Logging Building Stubs
![Page 8: Challenges of Developing BLE Application on Android](https://reader033.vdocument.in/reader033/viewer/2022042722/58a64c361a28ab6e368b5d63/html5/thumbnails/8.jpg)
Logging
Android Device
Android OS
SBrick App
BLE Stack
BLE Abstraction
Driver
Hybrid App
SBrick Firmware
LOG
LOG
![Page 9: Challenges of Developing BLE Application on Android](https://reader033.vdocument.in/reader033/viewer/2022042722/58a64c361a28ab6e368b5d63/html5/thumbnails/9.jpg)
Unit Testing
PC Test Runner
EmuDriver
SBrick Driver
JUnit Test
![Page 10: Challenges of Developing BLE Application on Android](https://reader033.vdocument.in/reader033/viewer/2022042722/58a64c361a28ab6e368b5d63/html5/thumbnails/10.jpg)
Firmware Testing
Raspberry Pi Test App
BLE Lib
Test
SBrick Firmware
ADC
![Page 11: Challenges of Developing BLE Application on Android](https://reader033.vdocument.in/reader033/viewer/2022042722/58a64c361a28ab6e368b5d63/html5/thumbnails/11.jpg)
Test hardware
![Page 12: Challenges of Developing BLE Application on Android](https://reader033.vdocument.in/reader033/viewer/2022042722/58a64c361a28ab6e368b5d63/html5/thumbnails/12.jpg)
Driver Integration Test
Android Device
Android OS
SBrick App
BLE Stack
BLE Abstraction
Driver
Teszt
SBrick Firmware
BLE TrafficSniffer
![Page 13: Challenges of Developing BLE Application on Android](https://reader033.vdocument.in/reader033/viewer/2022042722/58a64c361a28ab6e368b5d63/html5/thumbnails/13.jpg)
Application Integration Test
Android Device
Android OS
SBrick App
BLE Stack
BLE Abstraction
Driver
Hibrid App
SBrick Firmware
ADC
Test