The latest development version of this page may be more current than this released 2.7.5 version.

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 subsys/bluetooth/host/Kconfig:442

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:9subsys/bluetooth/Kconfig:174

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.)