~/talk

Event-Driven Bluetooth Handling in React Native: Which library should you choose?

Talkat React Day Berlin 2019 · on Friday, 2019-12-06· [react-native, react]
github:Morton
slides:none on file

Concrete steps and working code for Bluetooth Low Energy in React Native using react-native-ble-plx: monitor adapter state, filter for powered on, startDeviceScan and flatten streams, discover services and characteristics before access, and turn arrays into streams. It uses streams (xstream-style) plus hooks to bind values, shows combine to pair commands with a write characteristic, handles base64 encoding and DataView parsing, reports seeing 50–60 characteristics on a device, and demos a BB‑8 robot controller with collision detection; code is on GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 1:57Bluetooth Low Energy
  3. 4:09Streams
  4. 5:08Bluetooth
  5. 10:55Robots
  6. 14:47Collision Detection
~/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.