feat: web UI with AP, Wi-Fi client, mDNS, presets, OTA and DDP
- 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>
This commit is contained in:
1 parent
89f996096c
commit
9a04d28ecf
32 files changed
+6210
-398
No files matched your search
+7
-1
@@ -10,7 +10,7 @@
|
||||
#include "esp_wifi_types.h"
|
||||
#include "settings.h"
|
||||
|
||||
/** @brief Start Wi-Fi (AP `led-XXXXXX` plus an optional client), and mDNS as led.local. Needs NVS. */
|
||||
/** @brief Start Wi-Fi (AP `led-XXXXXX` plus an optional client), and mDNS. Needs NVS. */
|
||||
esp_err_t net_start(void);
|
||||
|
||||
/** @brief Fill buf with the AP SSID, e.g. "led-A1B2C3". */
|
||||
@@ -22,5 +22,11 @@ bool net_sta_status(char *ip, size_t ip_len);
|
||||
/** @brief Save credentials, then connect the client with them. */
|
||||
esp_err_t net_sta_connect(const wifi_creds_t *c);
|
||||
|
||||
/**
|
||||
* @brief Save network settings and apply them: mDNS name, static or DHCP client address.
|
||||
* A connected or configured client reconnects so the new address takes effect.
|
||||
*/
|
||||
esp_err_t net_save_network(const net_cfg_t *c);
|
||||
|
||||
/** @brief Scan for networks. On entry *count is the array size; on exit, the number found. */
|
||||
esp_err_t net_scan(wifi_ap_record_t *recs, uint16_t *count);
|
||||
Reference in new issue
Block a user