This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_BT_BUF_CMD_TX_SIZE

Maximum support HCI Command buffer length

Type: int

Help

Maximum data size for each HCI Command buffer. This value does not
include the HCI Command header.
This value is used by both the Host and the Controller for buffer
sizes that include HCI commands. It should be set according to the
expected HCI commands that can be sent from the configuration.
If the subset of possible HCI commands is unknown, this should be set
to the maximum of 255.

Direct dependencies

BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At subsys/bluetooth/common/Kconfig:165

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:9subsys/bluetooth/Kconfig:322

Menu path: (Top) → Sub Systems and OS Services → Bluetooth

config BT_BUF_CMD_TX_SIZE
    int "Maximum support HCI Command buffer length"
    range 65 255
    default 255 if BT_EXT_ADV || BT_BREDR
    default 65
    depends on BT_HCI && BT
    help
      Maximum data size for each HCI Command buffer. This value does not
      include the HCI Command header.
      This value is used by both the Host and the Controller for buffer
      sizes that include HCI commands. It should be set according to the
      expected HCI commands that can be sent from the configuration.
      If the subset of possible HCI commands is unknown, this should be set
      to the maximum of 255.

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