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

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:6subsys/bluetooth/Kconfig:160

Menu path: (Top) → 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.)