CONFIG_BT_CONN_DISABLE_SECURITY

Disable security

Type: bool

Help

This option disables security checks for incoming requests enabling to test accessing GATT attributes and L2CAP channels that would otherwise require encryption/authentication in order to be accessed.

WARNING: This option enables anyone to snoop on-air traffic. Use of this feature in production is strongly discouraged.

Direct dependencies

BT_TESTING && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Zephyr>/subsys/bluetooth/host/Kconfig:745

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

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

config BT_CONN_DISABLE_SECURITY
    bool "Disable security"
    depends on BT_TESTING && BT_HCI && BT
    help
      This option disables security checks for incoming requests enabling
      to test accessing GATT attributes and L2CAP channels that would
      otherwise require encryption/authentication in order to be accessed.

      WARNING: This option enables anyone to snoop on-air traffic.
      Use of this feature in production is strongly discouraged.

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