Harden firmware recovery and retries

Improve companion BLE delivery and idempotent remote CLI retries, make FPF7 persistence atomic with FPF6 migration, verify staged OTA data on resume, and clarify filter policy wildcard and BlackHole semantics.
This commit is contained in:
mikecarper
2026-08-07 16:24:53 -07:00
parent 7f56da7a34
commit 11b692abfa
37 changed files with 1666 additions and 307 deletions
+2 -1
View File
@@ -141,6 +141,7 @@
if (optional) return "";
throw new FilterToolError("Channel is required.");
}
if (channel === "*") return "";
if (channel.toLowerCase() === "public") return "public";
if (channel[0] === "#") {
if (channel.length < 2 || channel.length > 31 || /\s/.test(channel)) {
@@ -149,7 +150,7 @@
return channel;
}
if (/^(?:[0-9a-fA-F]{32}|[0-9a-fA-F]{64})$/.test(channel)) return channel.toUpperCase();
throw new FilterToolError("Channel must be public, #channel, or a 128/256-bit hexadecimal key.");
throw new FilterToolError("Channel must be *, public, #channel, or a 128/256-bit hexadecimal key.");
}
function normalizeScopeName(value) {