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.
Defaults¶
No defaults. Implicitly defaults to n.
Kconfig definition¶
At <Zephyr Subsystem>/bluetooth/host/Kconfig:737
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:9 → <Zephyr Subsystem>/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.)