pub-release, README: formatted flashing notes, release names, dutycycle
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a2dacb805d
commit
e6a3184423
4 files changed
+67
-24
No files matched your search
@@ -44,7 +44,7 @@ env:
|
||||
GITEA: https://git.rfa.cz
|
||||
KEEP: 5
|
||||
# 869.432/62.5/SF7/CR5; repeater + room server: zero-hop advert off, flood
|
||||
# advert 25 h, af 9 (= 10 % duty cycle); repeater: regions cz,cs next to *.
|
||||
# advert 25 h, AIRTIME_FACTOR 9 (= `dutycycle` 10 %); repeater: regions cz,cs next to *.
|
||||
# Path hash 2 B is this fork's default anyway. TX power stays the board's.
|
||||
# FILTER_CHANNEL_PSKS = [channel_filter] in platformio.ini (#meshcore, Public,
|
||||
# #test -- public keys): compiles the repeater's `filter` (deny-forward by
|
||||
@@ -183,11 +183,34 @@ jobs:
|
||||
set -euo pipefail
|
||||
api="$GITEA/api/v1/repos/$GITHUB_REPOSITORY"
|
||||
auth="header = \"Authorization: token $TOKEN\""
|
||||
note='BLE PIN 123456 and admin password "password" are placeholders: change them after flashing.
|
||||
*-observer: repeater with a BLE console (OFF after flashing: set a PIN, then send ble on) and the
|
||||
rxlog / pktlog rings for the repeater observer.
|
||||
Czech mesh defaults (meshcore.cz): 869.432 MHz / 62.5 kHz / SF7 / CR5; repeater: zero-hop advert off,
|
||||
flood advert 25 h, af 9 (10 % duty cycle), regions cz + cs. Apply to a fresh or erased node only.'
|
||||
readme="$GITEA/$GITHUB_REPOSITORY#o-tomto-forku-meshcore-tth"
|
||||
note=$(cat <<EOF
|
||||
- **BLE PIN \`123456\` a admin heslo \`password\` jsou zástupné.** Po nahrání je změň: \`password <nové>\` (nejvýš 15
|
||||
znaků), \`ble pin <6 číslic>\`.
|
||||
- **Výchozí nastavení pro český mesh** ([meshcore.cz](https://meshcore.cz/)): 869,432 MHz / 62,5 kHz / SF7 / CR5;
|
||||
repeater a room server: zero-hop advert vypnutý, flood advert á 25 h, duty cycle 10 % (\`get dutycycle\`); repeater:
|
||||
regiony \`cz\` a \`cs\`. **Platí jen pro nový nebo smazaný uzel** – nové nahrání ponechá uložené nastavení.
|
||||
- **\`*-observer\`**: repeater s BLE konzolí a buffery \`rxlog\` / \`pktlog\` pro repeater observer. BLE je po nahrání
|
||||
vypnuté: nejdřív \`ble pin\`, pak \`ble on\`.
|
||||
- **RX duty cycle** (\`set radio.rxps\`, jen SX1262) je zabudovaný a vypnutý.
|
||||
- Ověření: \`ver\` ukáže verzi z řádku *Verze v uzlu* výše. Co fork mění proti upstreamu: [README]($readme).
|
||||
|
||||
<details><summary>English</summary>
|
||||
|
||||
- **BLE PIN \`123456\` and admin password \`password\` are placeholders.** Change them after flashing: \`password
|
||||
<new>\` (15 characters at most), \`ble pin <6 digits>\`.
|
||||
- **Czech mesh defaults** ([meshcore.cz](https://meshcore.cz/)): 869.432 MHz / 62.5 kHz / SF7 / CR5; repeater and room
|
||||
server: zero-hop advert off, flood advert every 25 h, 10 % duty cycle (\`get dutycycle\`); repeater: regions \`cz\`
|
||||
and \`cs\`. **A fresh or erased node only** – a reflash keeps the saved settings.
|
||||
- **\`*-observer\`**: repeater with a BLE console and the \`rxlog\` / \`pktlog\` rings for the repeater observer. BLE
|
||||
is off after flashing: \`ble pin\` first, then \`ble on\`.
|
||||
- **RX duty cycle** (\`set radio.rxps\`, SX1262 only) is built in and off.
|
||||
- Check: \`ver\` shows the version from the *Verze v uzlu* (node version) line above. What the fork changes against
|
||||
upstream: [README]($readme).
|
||||
|
||||
</details>
|
||||
EOF
|
||||
)
|
||||
web="$GITEA/$GITHUB_REPOSITORY"
|
||||
gh=https://github.com/meshcore-dev/MeshCore
|
||||
max=60
|
||||
@@ -255,8 +278,8 @@ jobs:
|
||||
[ "$n" -le "$max" ] || echo "- … a dalších $((n - max)) · and $((n - max)) more"
|
||||
echo
|
||||
echo "### Po flashi · after flashing"
|
||||
echo
|
||||
echo "$note"
|
||||
echo "What this fork changes against upstream: see README.md."
|
||||
echo
|
||||
echo "commit $SHA, run $GITHUB_RUN_NUMBER"
|
||||
)
|
||||
|
||||
@@ -102,7 +102,7 @@ uzel nepotřebuje obvyklé kolečko nastavování:
|
||||
|
||||
* rádio 869,432 MHz / 62,5 kHz / SF7 / CR5 (všechny buildy);
|
||||
* repeater a room server: zero-hop advert vypnutý, flood advert každých 25 h,
|
||||
`af 9` (10% duty cycle);
|
||||
duty cycle 10 % (`get dutycycle` → `10.0%`; zastaralé `af` je 9);
|
||||
* repeater: regiony `cz` a `cs` vedle `*` – vlastní `cz-<kraj>` přidáš přes
|
||||
`region put cz-xxx cz` + `region save`;
|
||||
* 2bajtové path hashe (výchozí v tomto forku);
|
||||
@@ -129,10 +129,14 @@ Releasy do `tth-654d53f3` `ble pin` nemají: BLE tam nech vypnuté a používej
|
||||
|
||||
### Nahrání releasu
|
||||
|
||||
Soubory jsou v [Releases](https://git.rfa.cz/tth-pub/meshcore-tth/releases),
|
||||
jedna sada pro každou desku a roli (`<deska>_<role>-<sha>`): `.zip` a `.uf2`
|
||||
pro nRF52, `.bin` pro ESP32 (`-merged.bin` je celý obraz pro prázdnou desku,
|
||||
obyčejný `.bin` aktualizace). Kontrolní součty jsou v `SHA256SUMS`.
|
||||
Soubory jsou v [Releases](https://git.rfa.cz/tth-pub/meshcore-tth/releases).
|
||||
Release se jmenuje podle upstreamové verze a data, např.
|
||||
`v1.18.0+tth.20261112` (druhý téhož dne `.2`), a v popisu má změny od
|
||||
předchozího releasu. Pro každou desku a roli je jedna sada
|
||||
(`<deska>_<role>-<release>`, např. `Xiao_nrf52_repeater-v1.18.0+tth.20261112.zip`):
|
||||
`.zip` a `.uf2` pro nRF52, `.bin` pro ESP32 (`-merged.bin` je celý obraz pro
|
||||
prázdnou desku, obyčejný `.bin` aktualizace). Kontrolní součty jsou
|
||||
v `SHA256SUMS`. Releasy do 12. 11. 2026 se jmenovaly `tth-<sha>`.
|
||||
|
||||
**nRF52 (XIAO, RAK4631, SenseCAP Solar, T1000-E, T114) přes
|
||||
[webový flasher MeshCore](https://flasher.meshcore.io)** – Chrome, Edge nebo
|
||||
@@ -145,7 +149,8 @@ Chromium na počítači (Web Serial; ne Firefox ani Safari):
|
||||
4. Klikni na **Flash!** a vyber ten nový port. Zhruba 30 s, pak se deska
|
||||
restartuje do nového firmwaru.
|
||||
5. **Console** ve flasheru (nebo jakýkoli sériový terminál, 115200) ověří
|
||||
výsledek: `ver` ukáže `v1.xx.x-tth<sha>`, sha odpovídá názvu souboru.
|
||||
výsledek: `ver` ukáže `v1.xx.x-tth<sha>`, stejně jako řádek „Verze v uzlu“
|
||||
v popisu releasu.
|
||||
|
||||
**Neklikej na Erase Flash**, pokud nechceš nový uzel: smaže identitu (klíč
|
||||
uzlu a všechno, co ho zná) i veškeré nastavení. Obyčejné nahrání je zachová.
|
||||
@@ -272,7 +277,7 @@ freshly flashed node does not need the usual round of settings:
|
||||
|
||||
* radio 869.432 MHz / 62.5 kHz / SF7 / CR5 (all builds);
|
||||
* repeater and room server: zero-hop advert off, flood advert every 25 h,
|
||||
`af 9` (10 % duty cycle);
|
||||
10 % duty cycle (`get dutycycle` → `10.0%`; the deprecated `af` reads 9);
|
||||
* repeater: regions `cz` and `cs` next to `*` -- add your own `cz-<kraj>`
|
||||
with `region put cz-xxx cz` + `region save`;
|
||||
* 2-byte path hashes (this fork's default);
|
||||
@@ -299,10 +304,14 @@ up to `tth-654d53f3` do not have `ble pin`: keep BLE off there and use USB.
|
||||
|
||||
### 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.
|
||||
Files are in [Releases](https://git.rfa.cz/tth-pub/meshcore-tth/releases).
|
||||
A release is named after the upstream version and the date, e.g.
|
||||
`v1.18.0+tth.20261112` (a second one that day `.2`), and its notes list the
|
||||
changes since the previous release. One set per board and role
|
||||
(`<board>_<role>-<release>`, e.g. `Xiao_nrf52_repeater-v1.18.0+tth.20261112.zip`):
|
||||
`.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. Releases up to 12. 11. 2026 were named `tth-<sha>`.
|
||||
|
||||
**nRF52 (XIAO, RAK4631, SenseCAP Solar, T1000-E, T114) with the
|
||||
[MeshCore web flasher](https://flasher.meshcore.io)** -- Chrome, Edge or
|
||||
@@ -315,7 +324,8 @@ Chromium on a computer (Web Serial; not Firefox or Safari):
|
||||
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.
|
||||
result: `ver` shows `v1.xx.x-tth<sha>`, the same as the "Verze v uzlu"
|
||||
(node version) line in the release notes.
|
||||
|
||||
**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
|
||||
|
||||
@@ -580,7 +580,7 @@ also runs in continuous RX.
|
||||
**Note:** Measured 12. 11. 2026 on a XIAO nRF52840 + Wio-SX1262 at 5 V
|
||||
(866.5 MHz / SF8 / BW62.5, A/B/A/B, 15 min cells): `max` saves **~2.3 mA**
|
||||
(cell repeatability 0.3 mA). A 3-board zero-hop test lost nothing on `max`
|
||||
(0/120). See `docs/power.md`.
|
||||
(0/240 over two runs, the second on the public release). See `docs/power.md`.
|
||||
|
||||
---
|
||||
|
||||
|
||||
+14
-4
@@ -116,10 +116,20 @@ in absolute terms; the 33 mA base is this bench (meter, BLE advertising), not
|
||||
a node. Behind the XIAO's linear regulator the battery sees the same current:
|
||||
~7-8 mW at 3.3 V.
|
||||
|
||||
Reception: a 3-board zero-hop matrix (20 rounds, each link witnessed by
|
||||
another board) lost 0/120 with rxps off, 1/120 at `on` (level 3) and 0/120 at
|
||||
`max`; rxps stayed armed with no error counts. One loss in 120 is not
|
||||
distinguishable from chance. Not measured: mixed SF/preamble senders, a busy
|
||||
Reception: a 3-board zero-hop matrix (x1, x3, x4; rxps switched on x1 and x4,
|
||||
x3 the reference with rxps off; 20 rounds per phase, each link witnessed by
|
||||
another board), run twice -- on the development build, then repeated on the
|
||||
public release `v1.18.0+tth.20261112` (`ver` v1.18.0-tthd4afea1):
|
||||
|
||||
| phase | development build | public release | together |
|
||||
|---|---|---|---|
|
||||
| rxps off | 0/120 | 1/120 | 1/240 |
|
||||
| `on` (level 3) | 1/120 | 2/120 | 3/240 |
|
||||
| `max` (level 8) | 0/120 | 0/120 | **0/240** |
|
||||
|
||||
rxps stayed armed throughout, no error counts. Single losses happen with rxps
|
||||
off as well, and of the three at level 3 one was on x3, which had rxps off: the
|
||||
bench shows no degradation at any level. Not measured: mixed SF/preamble senders, a busy
|
||||
live mesh. On a mast, where 2 mA of ~24 is not the problem, leave it off.
|
||||
|
||||
## MCU sleep
|
||||
|
||||
Reference in new issue
Block a user