CONFIG_NET_L2_BT_SEC_LEVEL

Security level of Bluetooth Link

Type: int

Help

Security level of Bluetooth Link: Level 1 (BT_SECURITY_LOW) = No encryption or authentication required Level 2 (BT_SECURITY_MEDIUM) = Only encryption required Level 3 (BT_SECURITY_HIGH) = Encryption and authentication required Level 4 (BT_SECURITY_FIPS) = Secure connection required

Direct dependencies

NET_L2_BT && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • 1

Kconfig definition

At subsys/net/l2/Kconfig:37

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:78

Menu path: (Top) → 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_LOW) = No encryption or authentication required
      Level 2 (BT_SECURITY_MEDIUM) = Only encryption required
      Level 3 (BT_SECURITY_HIGH) = Encryption and authentication required
      Level 4 (BT_SECURITY_FIPS) = Secure connection required

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