nuttx-apps/examples/lws_echo/Kconfig
Tiago Medicci ec764fbbab examples/lws_echo: Add a simple websocket server example
This commit adds a simple websocket server example that echoes data
back to the client using libwebsockets.

Signed-off-by: Tiago Medicci <tiago.medicci@espressif.com>
2026-06-16 14:27:29 -03:00

31 lines
685 B
Text

#
# For a description of the syntax of this configuration file,
# see the file kconfig-language.txt in the NuttX tools repository.
#
config EXAMPLES_LWS_ECHO
tristate "libwebsockets WebSocket echo server"
default n
depends on NETUTILS_LIBWEBSOCKETS && NETUTILS_LIBWEBSOCKETS_SERVER
---help---
Simple WebSocket echo server using libwebsockets without TLS.
if EXAMPLES_LWS_ECHO
config EXAMPLES_LWS_ECHO_PROGNAME
string "Program name"
default "lws_echo"
config EXAMPLES_LWS_ECHO_PRIORITY
int "Task priority"
default 100
config EXAMPLES_LWS_ECHO_STACKSIZE
int "Stack size"
default 16384
config EXAMPLES_LWS_ECHO_PORT
int "WebSocket server TCP port"
default 9000
endif