You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
954 B
39 lines
954 B
6 months ago
|
menu "Example Configuration"
|
||
|
|
||
|
config EXAMPLE_IPV4
|
||
|
bool "IPV4"
|
||
|
default y
|
||
|
|
||
|
config EXAMPLE_IPV6
|
||
|
bool "IPV6"
|
||
|
default n
|
||
|
select EXAMPLE_CONNECT_IPV6
|
||
|
|
||
|
config EXAMPLE_PORT
|
||
|
int "Port"
|
||
|
range 0 65535
|
||
|
default 9003
|
||
|
help
|
||
|
Local port the example server will listen on.
|
||
|
|
||
|
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
|
||
|
|
||
|
config WEBSOCKET_URI
|
||
|
string "Websocket endpoint URI"
|
||
|
depends on WEBSOCKET_URI_FROM_STRING
|
||
|
default "ws://localhost:9999/qlcplusWS"
|
||
|
help
|
||
|
URL of websocket endpoint this example connects to and sends echo
|
||
|
|
||
|
endmenu
|