feat: ESP-NOW link, beat sync and control messages in the C++ driver

- espnow_link, ctrl_msg and beat_sync: the reliable link, envelopes and
  beat-synced timing.
- ctrl_msg: accept an envelope with the trailing save byte.
- patterns_frame() and espnow_link_poll() split out of their tasks, so the
  WebAssembly simulator can drive one frame and one link pass from a timer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Opus 5.5 committed 2026-11-16 19:32:36 +13:00
1 parent 94e300f6ad
commit 24dd5ffb15
30 files changed
+2159 -158

No files matched your search

+1 -2
View File
@@ -1000,7 +1000,7 @@
let found = [];
let localName = ''; // this device's name (its hostname), shown in the dropdown
// The dropdown: This device, every driver found on the network, and any added by hand.
// The dropdown: This device, and the drivers added by hand. Drivers found by mDNS are not listed.
function deviceChoices() {
const here = location.hostname;
const seen = new Set();
@@ -1010,7 +1010,6 @@
seen.add(host);
out.push([host, label]);
};
found.filter((d) => d.ip !== here).forEach((d) => add(d.host, d.name));
loadDevices().forEach((h) => add(h, h));
// A device that drops off the network stays selected rather than vanishing from the list
if (base && base !== ALL && !seen.has(base)) out.push([base, base]);