CONFIG_NET_L2_BT_SEC_LEVEL

Security level of Bluetooth Link

Type: int

Help

Security level of Bluetooth Link:
Level 1 (BT_SECURITY_L1) = No encryption or authentication required
Level 2 (BT_SECURITY_L2) = Only encryption required
Level 3 (BT_SECURITY_L3) = Encryption and authentication required
Level 4 (BT_SECURITY_L4) = LE Secure Connection required

Direct dependencies

NET_L2_BT && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At <Zephyr>/subsys/net/l2/Kconfig:37

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:44<Zephyr>/subsys/Kconfig:39<Zephyr>/subsys/net/Kconfig:81

Menu path: (Top) → Sub Systems and OS Services → Networking → Link layer and IP networking support → Link layer options → Enable Bluetooth support

config NET_L2_BT_SEC_LEVEL
    int "Security level of Bluetooth Link"
    range 1 4
    default 1
    depends on NET_L2_BT && NETWORKING
    help
      Security level of Bluetooth Link:
      Level 1 (BT_SECURITY_L1) = No encryption or authentication required
      Level 2 (BT_SECURITY_L2) = Only encryption required
      Level 3 (BT_SECURITY_L3) = Encryption and authentication required
      Level 4 (BT_SECURITY_L4) = LE Secure Connection required

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