Add soft-ap mode, remove wifi config.

Device defaukts to soft-ap mode. User can use the "WIFI" button to set wifi credentials. Pressing "boot" for 1 second resets to soft-ap mode.

Re-work UI to fill screen.
This commit is contained in:
Matt
2025-12-14 11:23:18 +00:00
parent 855d287e1d
commit 46514b5c76
7 changed files with 702 additions and 195 deletions

View File

@@ -1,5 +1,5 @@
idf_component_register(SRCS "main.c"
idf_component_register(SRCS "main.c" "wifi_manager.c"
INCLUDE_DIRS "."
EMBED_TXTFILES "index.html" "index.js"
REQUIRES esp_http_server esp_adc nvs_flash esp_wifi driver esp_netif freertos esp_event)
REQUIRES esp_http_server esp_adc nvs_flash esp_wifi driver esp_netif freertos esp_event esp_timer)