README: flashing a release (web flasher, Custom Firmware) and the BLE PIN truth

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-03 01:20:16 +01:00
1 parent 654d53f34c
commit 1cfa726cdd
1 file changed
+50 -8
+50 -8
View File
@@ -93,16 +93,58 @@ freshly flashed node does not need the usual round of settings:
`#meshcore` and `#test`, with an empty list -- it does nothing until you
add a name.
Observer variants (`*_repeater-observer-*`) of the nRF52 repeaters (XIAO,
SenseCAP Solar, RAK4631, T1000-E, Heltec T114) add the `nodes` / `rxlog` /
`pktlog` rings and the text console over BLE, for reading the repeater over
BLE or USB (a repeater observer). The BLE console is **off** after flashing
(`RPT_BLE_DEFAULT_OFF`): set your own BLE PIN and admin password first, then
`ble on` (saved, also accepted over the mesh admin CLI).
They apply only to a node with no saved settings (new, or after an erase):
a reflash keeps whatever the node already has, and regions you removed and
saved stay removed. Set a name, an admin password and the BLE PIN yourself.
saved stay removed. Set a name and an admin password yourself.
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`.
### Flashing a release
Files are in [Releases](https://git.rfa.cz/tth-pub/meshcore-tth/releases),
one set per board and role (`<board>_<role>-<sha>`): `.zip` and `.uf2` for
nRF52 boards, `.bin` for ESP32 (`-merged.bin` is the full image for a blank
board, the plain `.bin` an update). `SHA256SUMS` lists the checksums.
**nRF52 (XIAO, RAK4631, SenseCAP Solar, T1000-E, T114) with the
[MeshCore web flasher](https://flasher.meshcore.io)** -- Chrome, Edge or
Chromium on a computer (Web Serial; not Firefox or Safari):
1. Connect the board over USB.
2. Click **Custom Firmware** and choose the `.zip` for your board.
3. Click **Enter DFU mode** and pick the board's serial port. The board
restarts into its bootloader and shows up as a new port.
4. Click **Flash!** and pick that new port. About 30 s, then the board
restarts into the new firmware.
5. **Console** in the flasher (or any serial terminal, 115200) checks the
result: `ver` shows `v1.xx.x-tth<sha>`, the sha from the file name.
**Do not click Erase Flash** unless you want a new node: it wipes the
identity (the node's key and everything that knows it) together with all
settings. A plain flash keeps them.
Tried on a XIAO (repeater-observer, 3. 11. 2026). ESP32 `.bin` through the
same Custom Firmware button is untested here.
Without the web flasher: on most boards a double-tap of reset opens the
bootloader as a USB drive; copy the `.uf2` onto it. Or
`adafruit-nrfutil dfu serial -pkg <file>.zip -p <port> -b 115200` with the
board in the bootloader.
After flashing a new node, set it up in the console: `set name <name>`,
`password <admin password>` (at most 15 characters), your own region with
`region put cz-<kraj> cz` + `region save`. A repeater forwards from its
first boot (upstream default) and these builds are on the live CZ frequency:
on a desk without its antenna, `set repeat off` until it is in place.
### Build