CONFIG_BT_FIXED_PASSKEY

Use a fixed passkey for pairing

Type: bool

Help

With this option enabled, the application will be able to call the bt_passkey_set() API to set a fixed passkey. If set, the pairing_confim() callback will be called for all incoming pairings.

Direct dependencies

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

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

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

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

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

config BT_FIXED_PASSKEY
    bool "Use a fixed passkey for pairing"
    depends on BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    help
      With this option enabled, the application will be able to call the
      bt_passkey_set() API to set a fixed passkey. If set, the
      pairing_confim() callback will be called for all incoming pairings.

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