~/talk

Keeping Up Continuous Development of BLE-Based Apps

TalkinJapaneseat DroidKaigi 2022 · 2022-10-05..10-07· [embedded-and-hardware, android]
name:Moyuru
links:none on file
slides:none on file

Demonstrates wrapping callback-heavy Android BLE (dozens of callbacks) into Kotlin Coroutines and Flow so code matches the device protocol steps: connect, await connected, discover services, await discovery, enable notifications (including writing the CCC descriptor), await notifications, and read/write characteristics. Presents a Bluetooth client implemented with MutableStateFlow and suspend/await helpers, discusses flaky issues like error 133 and silent Bluetooth stacks, and recommends toggling Bluetooth or restarting the device and capturing logs with Bugfender for debugging.

AI-written summary · about

  1. 0:00Introduction
  2. 2:28BLE communication basics
  3. 8:37Complex BLE scenarios
  4. 13:59Improving BLE with coroutines
  5. 18:36BLE issues and troubleshooting
  6. 21:28Debugging BLE in production
  7. 22:31BLE use cases and design
  8. 24:41Summary
~/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.