CONFIG_BT_BUF_CMD_TX_SIZE

Maximum support HCI Command buffer length

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.

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_RPC_STACK || (BT_HCI && BT)

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definitions

At <Zephyr>/subsys/bluetooth/common/Kconfig:163

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:33<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:92<nRF>/subsys/Kconfig:10<nRF>/subsys/bluetooth/Kconfig:38<nRF>/subsys/bluetooth/rpc/Kconfig:195

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Bluetooth Low Energy → BLE over nRF RPC

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 83 if !BT_EXT_ADV && !BT_BREDR && BT_CTLR_DF && BT_CTLR_DF_CONN_CTE_REQ && !SOC_COMPATIBLE_NRF
    default 65
    depends on BT_RPC_STACK
    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.

At <Zephyr>/subsys/bluetooth/common/Kconfig:163

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:179

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 83 if !BT_EXT_ADV && !BT_BREDR && BT_CTLR_DF && BT_CTLR_DF_CONN_CTE_REQ && !SOC_COMPATIBLE_NRF
    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.)