~/talk

A journey in Android's BLE world

Talkat droidcon London 2024 · 2024-10-31..11-01· [android, iot]
slides:none on file

Practical walkthrough of Android BLE behavior: permission splits (scan/advertise/connect), scanning quirks across OEMs, and why libraries smooth differences. Shows actual code patterns for scanning, filtering and connecting, using Nordic Semiconductor libraries and the Kotlin coroutines-based scanner, parsing raw characteristic bytes into booleans, and using DFU firmware updates for devices. Notes limits like about 20 connections per phone, unreliable background scans on many devices, and using iBeacon layout string or AltBeacon to range or monitor beacons for proximity and basic indoor positioning.

AI-written summary · about

  1. 0:00Introduction to Bluetooth
  2. 1:49Bluetooth basics
  3. 3:13Classic vs Low Energy
  4. 6:46Generic Attribute Profile
  5. 9:13BLE permissions and scanning
  6. 13:06Challenges with BLE APIs
  7. 14:09Kotlin BLE library
  8. 15:54Background scanning strategies
  9. 16:58Connecting to BLE device
  10. 17:39Sending and receiving BLE data
  11. 20:08Parsing BLE data
  12. 21:09XLut library overview
  13. 21:31Debugging BLE devices
  14. 22:54Bluetooth beacons
  15. 24:20Beacon Library
  16. 27:48Background beacon monitoring
  17. 29:13Indoor localization
  18. 30:19Beacon development tools
  19. 30:39Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.