How uecs-star/uardecs_esp32c3 works
UARDECS_ESP32C3 is an Arduino library for building UECS-compliant horticulture applications. An application configures CCM providers/receivers and calls the library setup and loop; the runtime handles Wi-Fi, UDP CCM traffic, and its HTTP interface, while maintaining configuration and CCM state. The README documents provider search, safe mode, web configuration, and flash-backed nonvolatile storage. The excerpts show key APIs and parts of UDP, HTTP, and persistence behavior, but not the full runtime wiring, so unsupported connections are omitted.
Main entry points: Uardecs_esp32c3.cpp UECS runtime · Uardecs_esp32c3.h Library API
Components 13
Application integration
- Library API
src/Uardecs_esp32c3.h - UECS runtime
src/Uardecs_esp32c3.cpp
UECS networking
- Wi-Fi connectivity
src/Uardecs_esp32c3.cpp - CCM UDP exchange
src/Uardecs_esp32c3.cpp - Node and CCM search
src/Uardecs_esp32c3.cpp
Web management
- HTTP server
src/Uardecs_esp32c3.cpp - Status and configuration pages
src/Uardecs_esp32c3.cpp
Configuration and state
- CCM registry
src/Uardecs_esp32c3.cpp - Device settings
src/Uardecs_esp32c3.cpp - Flash-backed storage
src/Uardecs_esp32c3.cpp
Other components
- UECS application
- Other UECS nodes
- Browser
Connections 14
- UECS application → Library API: configures and calls
src/Uardecs_esp32c3.h - Library API → UECS runtime: exposes runtime APIs
src/Uardecs_esp32c3.h - UECS runtime → Wi-Fi connectivity: starts Wi-Fi
src/Uardecs_esp32c3.cpp - UECS runtime → CCM UDP exchange: services UDP
src/Uardecs_esp32c3.cpp - CCM UDP exchange → Other UECS nodes: broadcasts and receives
- CCM UDP exchange → Node and CCM search: handles search traffic
src/Uardecs_esp32c3.cpp - UECS runtime → HTTP server: services HTTP
src/Uardecs_esp32c3.cpp - HTTP server → Browser: serves pages
- HTTP server → Status and configuration pages: dispatches requests
src/Uardecs_esp32c3.cpp - Status and configuration pages → CCM registry: reads and edits
src/Uardecs_esp32c3.cpp - Status and configuration pages → Device settings: edits settings
src/Uardecs_esp32c3.cpp - UECS runtime → CCM registry: manages CCMs
src/Uardecs_esp32c3.cpp - UECS runtime → Device settings: loads settings
src/Uardecs_esp32c3.cpp - Device settings → Flash-backed storage: reads and writes
src/Uardecs_esp32c3.cpp