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

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 subsys/bluetooth/host/Kconfig:737

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:9subsys/bluetooth/Kconfig:174

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.)