forked from xiaozhi/xiaozhi-esp32
add websocket protocol
This commit is contained in:
@@ -6,13 +6,26 @@ config OTA_VERSION_URL
|
||||
help
|
||||
The application will access this URL to check for updates.
|
||||
|
||||
choice CONNECTION_TYPE
|
||||
prompt "Connection Type"
|
||||
default CONNECTION_TYPE_MQTT_UDP
|
||||
help
|
||||
网络数据传输协议
|
||||
config CONNECTION_TYPE_MQTT_UDP
|
||||
bool "MQTT + UDP"
|
||||
config CONNECTION_TYPE_WEBSOCKET
|
||||
bool "Websocket"
|
||||
endchoice
|
||||
|
||||
config WEBSOCKET_URL
|
||||
depends on CONNECTION_TYPE_WEBSOCKET
|
||||
string "Websocket URL"
|
||||
default "wss://api.tenclass.net/xiaozhi/v1/"
|
||||
help
|
||||
Communication with the server through websocket after wake up.
|
||||
|
||||
config WEBSOCKET_ACCESS_TOKEN
|
||||
depends on CONNECTION_TYPE_WEBSOCKET
|
||||
string "Websocket Access Token"
|
||||
default "test-token"
|
||||
help
|
||||
|
||||
Reference in New Issue
Block a user