3 Commits
Author SHA1 Message Date
tthandClaude Opus 5.5 3293254443 OTA: a Check button tells whether the node is up to date, without sending anything
build / ci-image (push) Successful in 10s
build / build (push) Successful in 26m44s
Login, `ver`, `fw status` (and `fw ver` for the release lookup), then the
outcome: "up to date: the node already runs <tag>, no update needed" or
"update available: <tag>, delta N B", with the node's version on top. It
stops before `fw begin` and before the side channel, so no chunks go on air.
OtaTransfer.checkOnly, OtaState.available; OtaResult carries the release
tag and the `ver` reply.

Refs #28

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 12:09:56 +01:00
tthandClaude Opus 5.5 5edb1f3ab7 OTA: take the package from the latest meshcore-tth release by itself
build / ci-image (push) Successful in 12m58s
build / build (push) Successful in 11m54s
With no file chosen, the node's target (`fw ver`) and image (`fw status`
/ `fw base`) pick the delta from manifest.json of the latest public
release on git.rfa.cz; it is checked against SHA256SUMS (the node checks
the manifest signature itself). Choosing .mcfw files stays for own
builds.

Bench 16. 11. 2026: a node on v1.18.0+tth.20261115.2 got the delta to
20261116 found and downloaded by the app, over the side channel.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:45:48 +01:00
tthandClaude Opus 5.5 1b2e0ccdfc Add OTA firmware updates of meshcore-tth nodes, with a side channel
A "Firmware update (OTA)" tile in the repeater hub (admins, tth fork
switch kOtaUpdate) pushes a delta of a meshcore-tth -ota image over the
mesh: the package that starts from the node's image is picked from the
chosen .mcfw files, binary chunks with text as the fallback, an airtime
budget, verify and apply. Optionally on a side channel: the node goes to
another preset by tempradio, the companion follows (checked), the chunks
go zero-hop and both come back at the end.

A port of the reference engine of the tth.meshcore Ansible collection
(module_utils/meshcore_ota_engine.py); test/services/ota/ota_vectors.json
is its test-vector file. Bench 16. 11. 2026: the connector over TCP to a
USB companion, side channel 866.0/SF7, applied a 2.7 kB delta, 20 s
airtime, companion back on its preset.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 23:32:04 +01:00