feat: ws connect
This commit is contained in:
@ -6,6 +6,34 @@ config OTA_URL
|
||||
help
|
||||
The application will access this URL to check for new firmwares and server address.
|
||||
|
||||
config USE_DIRECT_WEBSOCKET
|
||||
bool "Use direct WebSocket without OTA"
|
||||
default n
|
||||
help
|
||||
Skip the OTA server check and use the WebSocket settings below directly.
|
||||
|
||||
config WEBSOCKET_URL
|
||||
string "Default WebSocket URL"
|
||||
depends on USE_DIRECT_WEBSOCKET
|
||||
default "ws://10.6.80.130:8080"
|
||||
help
|
||||
The WebSocket server URL used when direct WebSocket mode is enabled.
|
||||
|
||||
config WEBSOCKET_TOKEN
|
||||
string "Default WebSocket token"
|
||||
depends on USE_DIRECT_WEBSOCKET
|
||||
default ""
|
||||
help
|
||||
Optional Authorization token for the direct WebSocket server.
|
||||
|
||||
config WEBSOCKET_PROTOCOL_VERSION
|
||||
int "Default WebSocket protocol version"
|
||||
depends on USE_DIRECT_WEBSOCKET
|
||||
range 1 3
|
||||
default 1
|
||||
help
|
||||
Protocol-Version header and hello version used by the WebSocket protocol.
|
||||
|
||||
choice
|
||||
prompt "Flash Assets"
|
||||
default FLASH_DEFAULT_ASSETS if !USE_EMOTE_MESSAGE_STYLE
|
||||
|
||||
Reference in New Issue
Block a user