CONFIG_WEBSOCKET_MAX_CONTEXTS

Max number of websockets to allocate

Type: int

Help

How many Websockets can be created in the system.

Direct dependencies

WEBSOCKET_CLIENT && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At <Zephyr>/subsys/net/lib/websocket/Kconfig:17

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:34<Zephyr>/subsys/net/Kconfig:89<Zephyr>/subsys/net/lib/Kconfig:16

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Network Protocols → Websocket client support [EXPERIMENTAL]

config WEBSOCKET_MAX_CONTEXTS
    int "Max number of websockets to allocate"
    default 1
    depends on WEBSOCKET_CLIENT && NETWORKING
    help
      How many Websockets can be created in the system.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)