simple_repeater: ble pin <6 digits> -- own BLE PIN, saved; public builds refuse ble on without it
pub-release / release (push) Successful in 23m33s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-03 01:37:38 +01:00
1 parent 1cfa726cdd
commit c1eaa6f98b
2 files changed
+91 -11

No files matched your search

+8 -6
View File
@@ -101,12 +101,14 @@ Observer variants (`*_repeater-observer-*`) of the nRF52 repeaters (XIAO,
SenseCAP Solar, RAK4631, T1000-E, Heltec T114) add the `nodes` / `rxlog` /
`pktlog` rings and a text console over BLE, for reading the repeater over
USB or BLE ([meshcore-repeater-observer](https://git.rfa.cz/tth-pub/meshcore-repeater-observer)).
The BLE console is **off** after flashing (`RPT_BLE_DEFAULT_OFF`) and should
stay off on a public build: it has no login of its own, only the BLE PIN, and
that PIN is fixed at build time to `123456` -- the console cannot change it.
Anyone in BLE range who knows the default would get the full admin console.
Use the observer over USB, or build the env yourself with your own
`-D BLE_PIN_CODE=` before `ble on`.
The BLE console is **off** after flashing (`RPT_BLE_DEFAULT_OFF`). It has no
login of its own, only the BLE PIN, and the build's PIN is the public
placeholder `123456`. So first set your own, in the USB console:
`ble pin <6 digits>` (saved, survives a reboot and a reflash; it also drops
every existing bond, so paired devices pair again). Only then `ble on` --
these builds refuse it while the PIN is still the placeholder. `ble` shows
whether the PIN is `own` or `build default`, never the PIN itself. Releases
up to `tth-654d53f3` do not have `ble pin`: keep BLE off there and use USB.
### Flashing a release