components/websocket/Kconfig

Wed, 26 Jun 2024 21:48:49 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Wed, 26 Jun 2024 21:48:49 +0200
branch
idf 5.1
changeset 136
89fc3c57282e
parent 74
cba50f7529d0
permissions
-rw-r--r--

Reverted gpio_pad_select_gpio() calls, added the correct include. Starting the unit works better now. Reverted some other small changes. In some parts the controller is very slow, possible spiffs issue?


menu "WebSocket Server"

config WEBSOCKET_SERVER_MAX_CLIENTS
  int "Max clients"
  range 1 1000
  default 10
  help
    Maximum number of clients that the WebSocket
    server can handle at a time.

config WEBSOCKET_SERVER_QUEUE_SIZE
  int "Queue read size"
  range 1 100
  default 10
  help
    Size of the queue to deal with incoming
    WebSocket messages. The queue holds the
    connection, not the actual message.

config WEBSOCKET_SERVER_QUEUE_TIMEOUT
  int "Queue timeout"
  range 0 10000
  default 30
  help
    Timeout for adding new connections to the
    read queue.

config WEBSOCKET_SERVER_TASK_STACK_DEPTH
  int "Stack depth"
  range 3000 20000
  default 7000
  help
    Stack depth for the WebSocket server. The task
    handles reads.

config WEBSOCKET_SERVER_TASK_PRIORITY
  int "Priority"
  range 1 20
  default 5
  help
    Priority for the WebSocket server. The task
    handles reads.


endmenu

mercurial