README: own BLE PIN with ble pin, then ble on

Firmware meshcore-tth c2053768 (next public release) saves its own BLE
PIN and refuses `ble on` on the default; older releases stay USB only.

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:52 +01:00
1 parent 8bb6f5e699
commit 7638519827
2 files changed
+13 -11

No files matched your search

+4 -3
View File
@@ -11,9 +11,10 @@ what the repeater hears. README.md is the reference; these are the rules.
2. The repeater needs the observer build of meshcore-tth. Ask which board and
firmware it runs; do not flash anything yourself.
3. Prefer USB (`/dev/serial/by-id/…`, never `/dev/ttyACM0`). BLE: the console
is off after flashing and stays off on a public build -- it has no login,
only the BLE PIN, fixed at build time to `123456`. Suggest BLE only for a
build the user made with their own `BLE_PIN_CODE`; never run `ble on`. Pairing is interactive (`bluetoothctl pair`) — the user does it.
is off after flashing and has no login, only the BLE PIN (`123456` in the
public build). The user sets their own with `ble pin <6 digits>` and then
`ble on`; never type, print or store their PIN yourself, never `ble on`
for them. Releases up to tth-654d53f3 lack `ble pin`: USB only there. Pairing is interactive (`bluetoothctl pair`) — the user does it.
Never `bluetoothctl remove` a paired repeater.
4. Community feed only for a node on the Czech preset (869.432 / 62.5 / SF7 /
CR5), with `MC_OBS_IATA` set; leave `MC_OBS_AUDIENCE` at its default.
+9 -8
View File
@@ -55,18 +55,19 @@ USB se s rádiem repeateru nepere a čte se nepřetržitě.
### Bluetooth
**S veřejným buildem Bluetooth nezapínejte.** BLE konzole repeateru nemá
vlastní přihlášení, chrání ji jen PIN, a ten je ve veřejných buildech napevno
`123456` (z konzole ho změnit nejde). Kdo je v dosahu a výchozí PIN zná, má
plnou admin konzoli včetně klíče uzlu. Bluetooth má smysl jen s buildem, který
si postavíte sami s vlastním `-D BLE_PIN_CODE=`.
BLE konzole repeateru nemá vlastní přihlášení, chrání ji jen PIN. Ve
veřejném buildu je výchozí PIN `123456`, který zná každý, takže **nejdřív
vlastní PIN**:
1. S takovým buildem zapněte konzoli (USB konzole, nebo z aplikace přes admin
CLI) — po flashi je **vypnutá**: `ble on` (uloží se). Pozor: dokud má nějaký počítač otevřený jeho USB port,
1. V USB konzoli `ble pin <6 číslic>` (uloží se, přežije reboot i nový flash
a zruší všechna dosavadní spárování), pak `ble on`. S výchozím PINem
firmware `ble on` odmítne. `ble` ukáže `PIN own`, samotný PIN nikdy.
Releasy do `tth-654d53f3` včetně `ble pin` nemají: tam Bluetooth
nezapínejte a použijte USB. Pozor: dokud má nějaký počítač otevřený jeho USB port,
**Bluetooth konzole se neukáže** (neběží BLE advertising, nejde se
připojit). Na repeater jako takový to vliv nemá — přijímá, přeposílá
a posílá LoRa adverty dál normálně. Jen BLE a USB konzole se střídají.
2. Jednou spárujte:
2. Jednou spárujte (zadáte svůj PIN):
```
bluetoothctl