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>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-16 23:45:48 +01:00
1 parent 1b2e0ccdfc
commit 5edb1f3ab7
4 files changed
+260 -9

No files matched your search

+17 -8
View File
@@ -182,10 +182,10 @@ class _RepeaterOtaScreenState extends State<RepeaterOtaScreen> {
Padding(
padding: const EdgeInsets.fromLTRB(16, 12, 16, 0),
child: Text(
'For nodes that run an -ota image of meshcore-tth. Pick '
'the .mcfw packages of a release; the delta that starts '
'from the node\'s image is taken. Only deltas go over '
'the mesh. Keep the app open until it is done.',
'For nodes that run an -ota image of meshcore-tth. The '
'delta that starts from the node\'s image is taken; only '
'deltas go over the mesh. Keep the app open until it is '
'done.',
style: textTheme.bodySmall?.copyWith(
color: scheme.onSurfaceVariant,
),
@@ -197,7 +197,11 @@ class _RepeaterOtaScreenState extends State<RepeaterOtaScreen> {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
if (_packages.isEmpty)
const Text('none chosen')
const Text(
'The latest release from git.rfa.cz/tth-pub/'
'meshcore-tth, the delta for the node\'s image. '
'Or choose .mcfw files (your own builds).',
)
else
for (final p in _packages)
Text(
@@ -211,6 +215,13 @@ class _RepeaterOtaScreenState extends State<RepeaterOtaScreen> {
icon: const Icon(Icons.folder_open),
label: const Text('Choose .mcfw files'),
),
if (_packages.isNotEmpty)
TextButton(
onPressed: _running
? null
: () => setState(_packages.clear),
child: const Text('Use the latest release'),
),
],
),
),
@@ -311,9 +322,7 @@ class _RepeaterOtaScreenState extends State<RepeaterOtaScreen> {
children: [
Expanded(
child: FilledButton.icon(
onPressed: _running || _packages.isEmpty
? null
: _start,
onPressed: _running ? null : _start,
icon: const Icon(Icons.system_update_alt),
label: const Text('Update'),
),