Files
led-driver/managed_components/espressif__mdns/mdns_diagram.md
T
jimmyandClaude Haiku 5.5 4cd3bc7973 feat: DDP frame sync over UDP broadcast, DDP acks, DDP enable setting
- 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>
2026-11-11 14:10:55 +13:00

52 lines
1.5 KiB
Markdown

```mermaid
graph TB
%% Housekeeping modules at the top
subgraph Housekeeping [Support Modules]
Service[mdns_service.c]
Utils[mdns_utils.c]
MemCaps[mdns_mem_caps.c]
Debug[mdns_debug.c]
end
%% Switch to LR direction for the main flow
subgraph MainFlow [Main Data Flow]
direction LR
%% Network on left side
Network((Network)) <--> Networking
%% Networking layer
subgraph Networking [Networking Layer]
LWIP[mdns_networking_lwip.c]
Socket[mdns_networking_socket.c]
end
%% Traffic flow
Networking --> |Incoming| Receive[mdns_receive.c]
Send[mdns_send.c] --> |Outgoing| Networking
%% Core MDNS components
Receive --> Responder[mdns_responder.c]
Receive --> Browser[mdns_browser.c]
Receive --> Querier[mdns_querier.c]
Responder --> Send
Browser --> Send
Querier --> Send
PCB[mdns_pcb.c] --> Send
NetIF[mdns_netif.c]
%% Users on the right side, aligned vertically
Responder --> Advertise((User: Advertising))
Querier --> Search((User: Searching))
Browser --> Browse((User: Browsing))
end
%% Style user nodes
style Advertise fill:#f9f,stroke:#333,stroke-width:2px
style Search fill:#f9f,stroke:#333,stroke-width:2px
style Browse fill:#f9f,stroke:#333,stroke-width:2px
style Housekeeping fill:#e6f7ff,stroke:#333,stroke-width:1px
```