CONFIG_BT_SMP_MIN_ENC_KEY_SIZE

Minimum encryption key size accepted in octets

Type: int

Help

This option sets the minimum encryption key size accepted during pairing.

Direct dependencies

BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Defaults

Kconfig definition

At <Zephyr>/subsys/bluetooth/host/Kconfig:438

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:306

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Security Manager Protocol support

config BT_SMP_MIN_ENC_KEY_SIZE
    int "Minimum encryption key size accepted in octets" if !BT_SMP_SC_ONLY
    range 7 16
    default 7
    default 16 if BT_SMP_SC_ONLY
    depends on BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    help
      This option sets the minimum encryption key size accepted during pairing.

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