~/talk

Bluetooth + Kotlin: It's a Match!

Talkat droidcon Italy 2022 · 2022-10-06..10-07· [android]
links:none on file
links:none on file
links:none on file
slides:none on file

Empatica starts building an EmbracePlus SDK in January 2020 and after two years ships a Bluetooth stack with 100% Kotlin and Kotlin Multiplatform reuse plus Compose in production; code uses a threaded Handler to serialize GATT writes, adds CRC checks for corrupted packets, and logs network type after discovering a phone that corrupts Bluetooth on 2.4GHz. Debugging relies on Bluetooth packet captures (developer setting → Wireshark), ADB over Wi‑Fi and Visor for remote devices, and explicit handling for Android 12/13 Bluetooth permissions.

AI-written summary · about

  1. 0:00Start
  2. 4:12GATT Characteristics
  3. 6:38Scanning Tips
  4. 8:27Read and Write on BluetoothGattCharacteristic
  5. 14:51Debug Using LogCat
  6. 17:13Callback approach
  7. 20:21Kotlin Flows
  8. 31:44Manifest Permission
  9. 34:05Methods deprecation
~/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.