~/talk

Bluetooth Low Energy on Android: Top Tips for the Tricky Bits

Talkat Mobilization 2017 · on Saturday, 2017-10-21· [android, iot]
links:none on file
slides:none on file

Android BLE advice is pragmatic: build a central-role client for Android (Lollipop+) or Android Things, expect to manage 7 concurrent connections and an Android-only limit of 15 notification subscriptions, and require coarse location permission plus location services to scan. Implement a single command queue that serializes GATT operations, always call discoverServices after connect, handle frequent intermittent disconnects with timed reconnects and retries, and tear down and restart the connection on unexplained failures.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 1:25BLE basics recap
  3. 8:52Android BLE landscape
  4. 11:40Planning and preparing app
  5. 13:25Checking BLE support
  6. 16:13Scanning for peripherals
  7. 21:55Handling scan results
  8. 23:18Connecting to devices
  9. 25:05Command queuing and sequencing
  10. 29:57Discovering services
  11. 31:41Reading characteristics
  12. 32:42Writing characteristics
  13. 33:03Enabling notifications
  14. 36:16Disconnecting cleanly
  15. 38:42Advanced BLE issues
  16. 40:28Q&A session
~/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.