Top Banner
Challenges of Developing Bluetooth Low Energy Application on Android Gábor Guta
14

Challenges of Developing BLE Application on Android

Feb 17, 2017

Download

Software

Gabor Guta
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Challenges of Developing BLE Application on Android

Challenges of Developing Bluetooth Low Energy Application on Android

Gábor Guta

Page 2: Challenges of Developing BLE Application on Android

What is SBrick?

BLE controled analog input / output module for LEGO

Page 3: Challenges of Developing BLE Application on Android

Low Energy

Simple Android API

Widely Adapted

Page 4: Challenges of Developing BLE Application on Android

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

From Prototyping to Production

Stability

Reducing error localization time

Validation of assumptions

Remote troubleshooting

Page 6: Challenges of Developing BLE Application on Android

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

Testing / Debugging

BLE traffic sniffing

Logging Building Stubs

Page 8: Challenges of Developing BLE Application on Android

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

Unit Testing

PC Test Runner

EmuDriver

SBrick Driver

JUnit Test

Page 10: Challenges of Developing BLE Application on Android

Firmware Testing

Raspberry Pi Test App

BLE Lib

Test

SBrick Firmware

ADC

Page 11: Challenges of Developing BLE Application on Android

Test hardware

Page 12: Challenges of Developing BLE Application on Android

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

Application Integration Test

Android Device

Android OS

SBrick App

BLE Stack

BLE Abstraction

Driver

Hibrid App

SBrick Firmware

ADC

Test

Page 14: Challenges of Developing BLE Application on Android

Q&AGábor Guta

[email protected]