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¶
- 7 
- 16 if - BT_SMP_SC_ONLY
Kconfig definition¶
At <Zephyr Subsystem>/bluetooth/host/Kconfig:442
Included via Kconfig:8 → Kconfig.zephyr:44 → <Zephyr Subsystem>/Kconfig:9 → <Zephyr Subsystem>/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.)