2019-06-20 07:37:40 +00:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2019-10-15 09:27:47 +00:00
|
|
|
choice WEBSOCKET_URI_SOURCE
|
|
|
|
prompt "Websocket URI source"
|
|
|
|
default WEBSOCKET_URI_FROM_STRING
|
|
|
|
help
|
|
|
|
Selects the source of the URI used in the example.
|
|
|
|
|
|
|
|
config WEBSOCKET_URI_FROM_STRING
|
|
|
|
bool "From string"
|
|
|
|
|
|
|
|
config WEBSOCKET_URI_FROM_STDIN
|
|
|
|
bool "From stdin"
|
|
|
|
endchoice
|
|
|
|
|
2019-06-20 07:37:40 +00:00
|
|
|
config WEBSOCKET_URI
|
|
|
|
string "Websocket endpoint URI"
|
2019-10-15 09:27:47 +00:00
|
|
|
depends on WEBSOCKET_URI_FROM_STRING
|
2019-10-04 10:14:05 +00:00
|
|
|
default "ws://echo.websocket.org"
|
2019-06-20 07:37:40 +00:00
|
|
|
help
|
|
|
|
URL of websocket endpoint this example connects to and sends echo
|
|
|
|
|
|
|
|
endmenu
|