38 lines
848 B
Plaintext
38 lines
848 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 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
|