The latest development version of this page may be more current than this released 2.5.0 version.
CONFIG_BT_DEBUG_L2CAP

Bluetooth L2CAP debug

Type: bool

Help

This option enables debug support for the Bluetooth L2ACP layer.

Direct dependencies

BT_DEBUG && BT_CONN && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/bluetooth/host/Kconfig.l2cap:66

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:9subsys/bluetooth/Kconfig:239subsys/bluetooth/host/Kconfig:506

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

config BT_DEBUG_L2CAP
    bool "Bluetooth L2CAP debug"
    depends on BT_DEBUG && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    help
      This option enables debug support for the Bluetooth
      L2ACP layer.

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