~/talk

BLE App Design Patterns

TalkinJapaneseat DroidKaigi 2019 · 2019-02-07..02-08· [android]
name:8yabusa
links:none on file
slides:none on file

An Android smart‑lock app uses Bluetooth Low Energy and the RxAndroidBLE library, splitting data into 19‑byte chunks with sequence bytes to work around the 20‑byte MTU and reassembling on the other side. It adds an HTTPS‑like cryptographic layer because the lock has no display, keeps device firmware minimal while the server holds mutable metadata, isolates BLE code in a module with a test app for verification, and designs idempotent APIs for eventual consistency; these patterns are used in production.

AI-written summary · about

  1. 0:00Introduction
  2. 1:12BLE features and uses
  3. 3:25Why use BLE and smart locks
  4. 5:39BLE vs web communication
  5. 8:01BLE security design
  6. 10:18Device and server data
  7. 12:52Sync delays and consistency
  8. 17:21Idempotent APIs and consistency
  9. 19:15App architecture basics
  10. 21:03Domain-based endpoints
  11. 24:07Dedicated BLE app
  12. 25:16Simple UI and MVVM
  13. 28:43Design summary and trials
  14. 29:46BLE app development future
~/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.