add OTA support

This commit is contained in:
Terrence
2024-09-05 17:22:01 +08:00
parent bad888e3ec
commit e25bf7155d
13 changed files with 259 additions and 6 deletions

View File

@@ -1,8 +1,14 @@
menu "Xiaozhi Assistant"
config OTA_UPGRADE_URL
string "OTA Upgrade URL"
default "https://"
help
The application will access this URL to check for updates when it starts and every 24 hours.
config WEBSOCKET_URL
string "Websocket URL"
default "ws://"
default "wss://"
help
Communication with the server through websocket after wake up.