Challenges of Developing Bluetooth Low Energy Application on Android Gábor Guta
Challenges of Developing Bluetooth Low Energy Application on Android
Gábor Guta
What is SBrick?
BLE controled analog input / output module for LEGO
Low Energy
Simple Android API
Widely Adapted
GATT (Generic Attribute Profile)
Profile
Service A
Service B
Characteristic 1
Characteristic 2
Characteristic 3
Characteristic 4
From Prototyping to Production
Stability
Reducing error localization time
Validation of assumptions
Remote troubleshooting
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
Testing / Debugging
BLE traffic sniffing
Logging Building Stubs
Logging
Android Device
Android OS
SBrick App
BLE Stack
BLE Abstraction
Driver
Hybrid App
SBrick Firmware
LOG
LOG
Unit Testing
PC Test Runner
EmuDriver
SBrick Driver
JUnit Test
Firmware Testing
Raspberry Pi Test App
BLE Lib
Test
SBrick Firmware
ADC
Test hardware
Driver Integration Test
Android Device
Android OS
SBrick App
BLE Stack
BLE Abstraction
Driver
Teszt
SBrick Firmware
BLE TrafficSniffer
Application Integration Test
Android Device
Android OS
SBrick App
BLE Stack
BLE Abstraction
Driver
Hibrid App
SBrick Firmware
ADC
Test
Q&AGábor Guta