zephyr/subsys/net/lib/websocket/Kconfig
Jukka Rissanen 7510e2d940 shell: backend: Create a websocket transport backend
This creates a websocket based shell backend that is used to
implement a websocket console that can be connected using a browser.

Signed-off-by: Jukka Rissanen <jukka.rissanen@nordicsemi.no>
2024-10-15 04:11:03 -04:00

39 lines
914 B
Plaintext

# Copyright (c) 2019 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
config WEBSOCKET_CLIENT
bool "Websocket client support [EXPERIMENTAL]"
select NET_SOCKETS
select HTTP_PARSER
select HTTP_PARSER_URL
select HTTP_CLIENT
select MBEDTLS
select BASE64
select MBEDTLS_SHA1 if MBEDTLS_BUILTIN
select EXPERIMENTAL
help
Enable Websocket client library.
config WEBSOCKET
bool
default y if WEBSOCKET_CLIENT
help
Helper symbol for generic Websocket support.
if WEBSOCKET_CLIENT
config WEBSOCKET_MAX_CONTEXTS
int "Max number of websockets to allocate"
default SHELL_WEBSOCKET_BACKEND_COUNT if SHELL_BACKEND_WEBSOCKET
default 1
help
How many Websockets can be created in the system.
module = NET_WEBSOCKET
module-dep = NET_LOG
module-str = Log level for Websocket
module-help = Enable debug message of Websocket client library.
source "subsys/net/Kconfig.template.log_config.net"
endif