Add WiFi HTTP and UART configuration parity
This commit is contained in:
@@ -160,3 +160,33 @@ The UART protocol should eventually support the same management capabilities as
|
||||
- HTTP is useful for setup, debugging, and future web UI.
|
||||
- USB serial remains the emergency service/debug interface.
|
||||
- The Pico should not depend on WiFi for normal control.
|
||||
|
||||
## WiFi Config Request
|
||||
|
||||
Pico sends:
|
||||
|
||||
{"type":"wifi_request"}
|
||||
|
||||
ESP32 responds:
|
||||
|
||||
{"type":"wifi_config_response","ok":true,"wifi":{}}
|
||||
|
||||
## WiFi Config Update
|
||||
|
||||
Pico sends:
|
||||
|
||||
{"type":"config_wifi","ssid":"Starlink","password":"password_here"}
|
||||
|
||||
## WiFi Connect
|
||||
|
||||
Pico sends:
|
||||
|
||||
{"type":"wifi_connect"}
|
||||
|
||||
## WiFi Clear
|
||||
|
||||
Pico sends:
|
||||
|
||||
{"type":"wifi_clear"}
|
||||
|
||||
AP mode remains enabled as the recovery path.
|
||||
|
||||
Reference in New Issue
Block a user