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 if’s and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At subsys/bluetooth/host/Kconfig:296

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:8subsys/bluetooth/Kconfig:155

Menu path: (top menu) → Bluetooth

config BT_FIXED_PASSKEY
    bool
    prompt "Use a fixed passkey for pairing" if BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    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.

(Definitions include propagated dependencies, including from if’s and menus.)