- 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>
DDP frames still skip the device and master brightness, since the sender
sets the colours, but they are now scaled by max_brightness instead of
being shown at a fixed full 255.
ddp_test expects the same scale.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
- once pixels have arrived the strip keeps the last frame when they stop, until a pattern is selected
- a stamp stored as now|1 can be 1 ms ahead of a now read in the same millisecond; the unsigned
difference wrapped and looked like a timeout, so compare it as signed (within())
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Driver acks each completed DDP frame; the test waits for the acks before broadcasting the sync.
- Sync listener on UDP 4049: a frame is held until the next sync, then shown.
- DDP pixels are shown at full brightness, ignoring the device brightness settings.
- "DDP and sync receive on" setting (NVS, network API, web UI); off ignores DDP and sync packets.
- ddp_test.py: finds devices on the subnet, drives them in lockstep at a fixed rate, runs animations.
- /api/ddp reports sync counters for diagnosis.
- Includes in-progress WebSocket, multi-driver web UI and Wi-Fi work from the same tree.
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
- Wi-Fi access point led-XXXXXX plus a client network, configurable
mDNS name and static client address
- Preset tiles with an editor, drag to reorder, default presets,
global brightness, Run and Edit modes, collapsible menu on phones
- 35 patterns ported from led-driver, up to 512 LEDs, colour order,
max brightness and data pin settings
- Over-the-air updates (POST /ota) with rollback, and a CLI in tools/ota.py
- DDP receiver on UDP 4048 with tools/ddp_test.py
- LED refresh every 10 ms; lwIP sockets raised to 16 so mDNS, HTTP
and DDP can run together
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>