Channel 11 defaults, ESP-NOW driver config and rig/desktop updates
Moves the controller, bridge and led-driver default ESP-NOW channel to 11 and updates the led-driver and led-tool submodule pointers. Includes the rest of the working tree: web UI, desktop and sim-controller changes, API and bridge code, graphify output, and the .gitea and fixture-driver folders. Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
35207a868a
commit
edf35e9c71
280 files changed
+24043
-1756
No files matched your search
@@ -6,6 +6,10 @@
|
||||
// "host:port" UDP, e.g. led-simulator (bridge_sim.py), or a network bridge board.
|
||||
// Down: dst_mac(6) + packet. Up: src_mac(6) + packet.
|
||||
// "/dev/ttyACM1" serial, the USB ESP-NOW bridge board in bridge/ (linux target only), or "serial:/dev/...".
|
||||
// "usb:aabbccddeeff" a USB board by its MAC, wherever its port is (linux). A board added by port becomes this
|
||||
// once it answers; the list is saved again then (bridge_set_renamed_cb).
|
||||
// "dmx:<id>" a DMX bridge (bridge_dmx.h, linux only): the "dmx_bridge" record id's fixtures, each a
|
||||
// led-driver of its own, sent as Art-Net, sACN or USB-DMX at 40 Hz.
|
||||
// "browser" the rig page the host build serves at /sim/ (linux target only): the simulated drivers
|
||||
// run in the browser and get the frames over the page's WebSocket (sim_rig.c).
|
||||
// While one runs, nothing goes out over the air.
|
||||
@@ -29,11 +33,15 @@ typedef void (*bridge_audio_cb_t)(const int16_t *pcm, size_t n);
|
||||
// opened, and frames received from any of them go to cb. Returns the first error, if any; the bridges that
|
||||
// could open stay up.
|
||||
esp_err_t bridge_set_all(const char addrs[][BRIDGE_ADDR_MAX], size_t n, bridge_rx_cb_t cb);
|
||||
// Called when a bridge's address changed by itself (a USB board became "usb:<mac>"): save the list
|
||||
void bridge_set_renamed_cb(void (*cb)(void));
|
||||
bool bridge_active(void);
|
||||
// A frame the rig page's drivers sent: src_mac(6) + packet (linux; sim_rig.c). Dropped unless "browser" runs.
|
||||
void bridge_browser_rx(const uint8_t *frame, int len);
|
||||
// The driver with this MAC was heard on the browser bridge since start: a simulated driver of the rig page
|
||||
bool bridge_mac_is_browser(const uint8_t mac[6]);
|
||||
// The driver with this MAC is a fixture of a running DMX bridge; that bridge's address ("dmx:<id>") in addr
|
||||
bool bridge_mac_is_dmx(const uint8_t mac[6], char *addr, size_t n);
|
||||
// The "browser" bridge is running
|
||||
bool bridge_has_browser(void);
|
||||
// Send to every running bridge
|
||||
|
||||
Reference in new issue
Block a user