- 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>
One request per line on USB-Serial-JTAG (@api {"id","method","path","body"}),
one @api envelope back; @reboot restarts. Requests run on the httpd task
through the same dispatcher as the WebSocket, so the checks match the web UI
and never race an HTTP handler. Replies go out in chunks under a lock that log
output shares, so a reply over the TX buffer size isn't dropped and log lines
can't land inside one. The primary console moves to USB-Serial-JTAG.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Device dropdown: All devices, this device by name, then drivers found by
mDNS (tagged app=led-strip) and any added by hand.
- POST /api/relay: a driver calls another driver's API for the page, so the
browser only talks to its own board. Limited to /api/*, /ota and /reboot.
- All devices sends brightness and preset plays to every device.
- Settings: sync this device's presets, order and startup to the others.
- CORS for LAN and localhost origins, and an OPTIONS handler for /ota.
- Header labels are removed; the controls keep aria-labels.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
Brings the led_strip example into the cpp app, targeting the ESP32-C3:
- Access point led-XXXXXX (open) plus a Wi-Fi client configured from the
web Settings tab, with credentials stored in NVS and reconnect backoff
- mDNS as led.local with an HTTP service on port 80
- HTTP server with an embedded web UI and a JSON API for patterns and Wi-Fi
- Pattern runner for solid, rainbow, chase, breathe, blink, pulse,
transition and circle on a 119-LED WS2812 strip (GPIO 10)
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>