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 <Zephyr>/subsys/net/l2/Kconfig:37

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:37<Zephyr>/subsys/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_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.)