From 8bb6f5e69951c6061f9c357c5ec1c317c610393b Mon Sep 17 00:00:00 2001 From: TeTeHacko Date: Tue, 3 Nov 2026 01:21:22 +0100 Subject: [PATCH] README: flash through the web flasher; keep BLE off on a public build The repeater's BLE console has no login, only the BLE PIN, and the public builds fix it at 123456 -- "set your own PIN first" could not be done. Point to the meshcore-tth flashing guide instead of the .uf2/.zip note. Co-Authored-By: Claude Opus 5.5 --- AGENTS.md | 5 +++-- README.md | 18 +++++++++++------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index a828605..5ab80eb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -11,8 +11,9 @@ 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; the user turns it on (`ble on`) after setting their - own PIN. Pairing is interactive (`bluetoothctl pair`) — the user does it. + 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. 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. diff --git a/README.md b/README.md index 082ae3b..e31c2b1 100644 --- a/README.md +++ b/README.md @@ -25,11 +25,10 @@ meshcoretomqtt format. Docs below are Czech; `--help` is English.* 1. **Repeater s observer buildem** firmwaru [meshcore-tth](https://git.rfa.cz/tth-pub/meshcore-tth): soubory `*_repeater-observer-*` v [Releases](https://git.rfa.cz/tth-pub/meshcore-tth/releases) - (XIAO, SenseCAP Solar, RAK4631, T1000-E, Heltec T114; `.uf2` přetažením na - disk bootloaderu, `.zip` pro DFU přes BLE nebo USB). Běžný MeshCore + (XIAO, SenseCAP Solar, RAK4631, T1000-E, Heltec T114). Nejjednodušší je + [webový flasher](https://flasher.meshcore.io) s `.zip` přes **Custom + Firmware**, postup je v [návodu k flashování](https://git.rfa.cz/tth-pub/meshcore-tth#flashing-a-release). Běžný MeshCore firmware příkazy `pktlog`/`rxlog` nemá; observer pak feed tiše vynechá. - Observer build má Bluetooth konzoli **po flashi vypnutou** a zástupný PIN - `123456`: nejdřív si nastavte vlastní PIN a admin heslo, pak `ble on`. 2. **Linux** s Pythonem 3.10+ (Raspberry Pi stačí), u BLE s BlueZ. 3. Pro komunitní analyzer: repeater na **českém nastavení** (869,432 MHz / 62,5 kHz / SF7 / CR5) — komunita chce jen uzly na CZ presetu. @@ -56,9 +55,14 @@ USB se s rádiem repeateru nepere a čte se nepřetržitě. ### Bluetooth -1. Na repeateru (USB konzole, nebo z aplikace přes admin CLI) nastavte vlastní - PIN a heslo a zapněte konzoli — po flashi je **vypnutá**: - `ble on` (uloží se). Pozor: dokud má nějaký počítač otevřený jeho USB port, +**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=`. + +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, **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í.