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
Default¶
- 1 
Kconfig definition¶
At <Zephyr Subsystem>/net/l2/Kconfig:37
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:39 → <Zephyr Subsystem>/net/Kconfig:85
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.)