Files
tthandClaude Opus 5.5 891be3afbe
ci / test (push) Successful in 2m21s
meshcore_fw_ota: OTA firmware update of a meshcore-tth repeater, over RF or its BLE console
Picks the package of a release that fits the image `fw status` reports
(changed=false when the node runs it already, no_package when none fits or
the node has no `fw`), transfers it -- over RF as binary chunks with a
bitmap of the missing ones and text chunks as the fallback, inside an
airtime budget; over the BLE console as text, a full image too -- then
verifies and applies. Port of tools/ota_mesh_push.py / ota_push.py of
meshcore-tth; radio-free parts in module_utils/meshcore_ota.py with unit
tests (the airtime formula they caught is fixed in the tool as well).
Link.cli takes retries, timeout, quiet and a before_send hook.

Tested on two live repeaters forced onto their current image (BLE console;
RF through a companion: 'current', 0.6 s airtime) and with a package of
another base (no_package).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-14 20:54:29 +01:00

5 lines
184 B
Plaintext

# Python on the host the modules run on (the one with the companion).
meshcore>=2.3
# meshcore_companion_acl (BLE link to a companion), meshcore_fw_ota over a BLE console.
bleak>=0.22