CONFIG_BT_BUF_EVT_RX_SIZE

Maximum supported HCI Event buffer length

Type: int

Help

Maximum supported HCI event buffer size. This value does not include
the HCI Event header.
This value is used by both the Host and the Controller for buffer
sizes that include HCI events. It should be set according to the
expected HCI events that can be generated from the configuration.
If the subset of possible HCI events 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 <Zephyr>/subsys/bluetooth/common/Kconfig:112

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:305

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

config BT_BUF_EVT_RX_SIZE
    int "Maximum supported HCI Event buffer length"
    range 68 255
    default 255 if BT_EXT_ADV && !(BT_BUF_EVT_DISCARDABLE_COUNT > 0)
    default 68
    depends on BT_HCI && BT
    help
      Maximum supported HCI event buffer size. This value does not include
      the HCI Event header.
      This value is used by both the Host and the Controller for buffer
      sizes that include HCI events. It should be set according to the
      expected HCI events that can be generated from the configuration.
      If the subset of possible HCI events is unknown, this should be set to
      the maximum of 255.

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