ota_mesh_push.py: --side F,BW,SF,CR carries the transfer on a side channel
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a80e68186d
commit
f6e792f1bb
2 files changed
+192
No files matched your search
+23
@@ -101,6 +101,29 @@ tools/ota_mesh_push.py /dev/serial/by-id/<companion> <node pubkey prefix> pkg.mc
|
||||
tools/ota_push.py /dev/serial/by-id/<node> pkg.mcfw --apply
|
||||
```
|
||||
|
||||
### Off the shared channel: `--side`
|
||||
|
||||
tools/ota_mesh_push.py <companion> <node> pkg.mcfw --apply \
|
||||
--side 869.525,62.5,7,5 --duty 10 --gap 1
|
||||
|
||||
Login, `fw status` and `get radio` still go over the mesh; then the node gets
|
||||
`tempradio <side>,3`, the companion retunes to the same preset, logs in again
|
||||
zero-hop, and the chunks go there. The window grows to `--window` (15 min) once
|
||||
the link is proven and is renewed while the transfer runs. The node comes back
|
||||
by itself when the window runs out, on `fw apply` (the reboot), or when the
|
||||
tool sends it back with `tempradio <its preset>,1`. Nothing new in the firmware:
|
||||
any node with `tempradio` takes it.
|
||||
|
||||
- The companion must be in **direct** range of the node, and it must be a
|
||||
companion **firmware** that retunes its own radio. An openHop virtual
|
||||
companion answers `set_radio` with OK and stays put; the tool checks that
|
||||
and stops, and the node returns within 3 minutes.
|
||||
- The companion's preset is put back at the end -- unless the tool is killed
|
||||
hard; then `set_radio` it back yourself.
|
||||
- The example preset sits inside 869.4-869.65 MHz (10 % duty) between the CZ
|
||||
mesh (869.432/62.5) and EU Narrow (869.618/62.5). The node keeps its TX
|
||||
power on the side channel: pick a band where that power is allowed.
|
||||
|
||||
`ota_mesh_push.py` needs the `meshcore` Python library. It logs in as admin
|
||||
(password from `[secrets] admin_pw` of `platformio.local.ini`, or asked for),
|
||||
sends binary chunks with a pause between them, asks which are missing and
|
||||
|
||||
Reference in new issue
Block a user