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.
Defaults¶
- 255 if ( - BT_EXT_ADV&& !(- BT_BUF_EVT_DISCARDABLE_COUNT> 0)) ||- BT_PER_ADV
- 68 
Kconfig definition¶
At <Zephyr Subsystem>/bluetooth/common/Kconfig:112
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:9 → <Zephyr Subsystem>/bluetooth/Kconfig:173
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)) || BT_PER_ADV
    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.)