feat: sequences v2, bridges, and sim-controller
Rework sequences (engine, seqplay, envelope, API, web UI), add bridge support, add the host sim-controller and rig simulation tests, and update docs, presets and project tooling config. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d664026ee5
commit
2543673bd8
68 files changed
+5761
-460
No files matched your search
@@ -35,6 +35,17 @@ typedef struct {
|
||||
// ap_password (8-63 chars), open when it is NULL or empty.
|
||||
esp_err_t espnow_tx_init(const char *ap_ssid, const char *ap_password);
|
||||
|
||||
// JSON array [{"mac","ip"}] of stations on the access point (DHCP leases); "[]" when it is off. Returns its length.
|
||||
int espnow_tx_ap_clients(char *out, size_t n);
|
||||
|
||||
// Before espnow_tx_init: send every frame to this UDP bridge ("host:port", see bridge.h) instead of
|
||||
// the radio. NULL or "" keeps the radio.
|
||||
void espnow_tx_set_bridge(const char *addr);
|
||||
|
||||
// Frames received from drivers (radio or bridge). Runs in the Wi-Fi or bridge task.
|
||||
typedef void (*espnow_rx_cb_t)(const uint8_t *src_mac, const uint8_t *data, int len);
|
||||
esp_err_t espnow_tx_set_rx_cb(espnow_rx_cb_t cb);
|
||||
|
||||
// Queue a bulk frame (<= 240 bytes). mac NULL broadcasts. Unicast frames are
|
||||
// retried; they never go out within the hold-off window after a beat.
|
||||
esp_err_t espnow_tx_send(const uint8_t *mac, const void *data, size_t len);
|
||||
|
||||
Reference in new issue
Block a user