led-driver: channel default 11, bare ESP-NOW build, settings and USB config updates

Default ESP-NOW channel is now 11. Adds the bare ESP-NOW-only build option
(CONFIG_LED_ESPNOW_ONLY) with its sdkconfig fragments, a default hostname from
the Wi-Fi MAC, and the related net, link, web and settings changes.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
This commit is contained in:
jimmyandClaude Haiku 5.5 committed 2026-11-21 01:18:55 +13:00
1 parent 12a8e225ad
commit c9838d1cbe
18 files changed
+268 -31

No files matched your search

+5
View File
@@ -19,6 +19,11 @@ void net_ap_ssid(char *buf, size_t len);
/** @brief True while the access point is running. */
bool net_ap_on(void);
/** @brief ESP-NOW only: ESP-NOW is on (so the Wi-Fi client stays off) and the access point is off. Nothing
* can reach the driver over IP, so the web interface, mDNS and DDP are not started: only the LEDs, the
* ESP-NOW link and the USB config port run. Turning the access point on starts the web interface. */
bool net_espnow_only(void);
/** @brief Client link state and its IPv4 address ("" if not connected). */
bool net_sta_status(char *ip, size_t ip_len);