Skip to content

docs: a paired phone as a presence key over BLE HID - #367

Merged
bdbarnett merged 1 commit into
mainfrom
docs/ble-presence
Oct 31, 2026
Merged

bdbarnett merged 1 commit into
mainfrom
docs/ble-presence

Conversation

@bdbarnett

Copy link
Copy Markdown
Contributor

The Bluetooth LE guide's HID section gains a short paragraph and snippet: a board serving bledev.hid with encrypted=True knows when a bonded phone comes into range, because the phone reconnects by itself, with no app.

Run on an ESP32-P4 (MicroPython 1.30 preview) with a Galaxy S21 on Android 14: the snippet as written saw the phone arrive on pairing, leave and come back across a Bluetooth off and on, and leave on unpair. A separate probe timed conn.encrypted across four arrivals: False when serve() returns, True 291 to 424 ms later on bonded reconnects.

@bdbarnett
bdbarnett merged commit d9f57c8 into main Oct 31, 2026
1 check passed
@bdbarnett
bdbarnett deleted the docs/ble-presence branch October 31, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant