2023-10-18 11:16:37 +08:00
|
|
|
#
|
|
|
|
|
# For a description of the syntax of this configuration file,
|
|
|
|
|
# see the file kconfig-language.txt in the NuttX tools repository.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
config NETUTILS_LIBWEBSOCKETS
|
|
|
|
|
bool "libwebsockets library (current version)"
|
|
|
|
|
default n
|
2026-06-12 10:46:56 -03:00
|
|
|
depends on NET
|
2023-10-18 11:16:37 +08:00
|
|
|
---help---
|
|
|
|
|
Enables the libwebsockets library.
|
|
|
|
|
|
|
|
|
|
if NETUTILS_LIBWEBSOCKETS
|
|
|
|
|
|
|
|
|
|
config NETUTILS_LIBWEBSOCKETS_VERSION
|
|
|
|
|
string "Version number"
|
|
|
|
|
default "4.3.1"
|
|
|
|
|
|
2026-06-12 10:50:38 -03:00
|
|
|
config NETUTILS_LIBWEBSOCKETS_SERVER
|
|
|
|
|
bool "Enable server support"
|
|
|
|
|
default n
|
|
|
|
|
---help---
|
|
|
|
|
Enable WebSocket/HTTP server support in libwebsockets.
|
|
|
|
|
When disabled, only client-side code is built.
|
|
|
|
|
|
2026-06-12 10:46:56 -03:00
|
|
|
config NETUTILS_LIBWEBSOCKETS_TLS
|
|
|
|
|
bool "Enable TLS support"
|
|
|
|
|
default y
|
|
|
|
|
depends on OPENSSL_MBEDTLS_WRAPPER
|
|
|
|
|
---help---
|
|
|
|
|
Enable TLS in libwebsockets via the OpenSSL-mbedTLS
|
|
|
|
|
wrapper. Requires CONFIG_OPENSSL_MBEDTLS_WRAPPER.
|
|
|
|
|
When disabled, only plain ws:// connections are supported.
|
|
|
|
|
|
2023-10-18 11:16:37 +08:00
|
|
|
endif
|