CONFIG_BT_ATT_ENFORCE_FLOW

Enforce strict flow control semantics for incoming PDUs

Type: bool

Help

Enforce flow control rules on incoming PDUs, preventing a peer from sending new requests until a previous one has been responded or sending a new indication until a previous one has been confirmed. This may need to be disabled to avoid potential race conditions arising from a USB based HCI transport that splits HCI events and ACL data to separate endpoints.

Direct dependencies

BT_CONN && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Kconfig definition

At subsys/bluetooth/host/Kconfig.gatt:8

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:6subsys/bluetooth/Kconfig:160subsys/bluetooth/host/Kconfig:430

Menu path: (Top) → Bluetooth → ATT and GATT Options

config BT_ATT_ENFORCE_FLOW
    bool "Enforce strict flow control semantics for incoming PDUs"
    default y if !(BOARD_QEMU_CORTEX_M3 || BOARD_QEMU_X86 || ARCH_POSIX)
    depends on BT_CONN && BT_HCI_HOST && BT_HCI && BT
    help
      Enforce flow control rules on incoming PDUs, preventing a peer
      from sending new requests until a previous one has been responded
      or sending a new indication until a previous one has been
      confirmed. This may need to be disabled to avoid potential race
      conditions arising from a USB based HCI transport that splits
      HCI events and ACL data to separate endpoints.

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