CONFIG_BT_SMP_APP_PAIRING_ACCEPT

Accept or reject pairing initiative

Type: bool

Help

When receiving pairing request or pairing response query the
application whether to accept to proceed with pairing or not. This is
for pairing over SMP and does not affect SSP, which will continue
pairing without querying the application.
The application can return an error code, which is translated into
a SMP return value if the pairing is not allowed.

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:293

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:313

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

config BT_SMP_APP_PAIRING_ACCEPT
    bool "Accept or reject pairing initiative"
    depends on BT_SMP && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    help
      When receiving pairing request or pairing response query the
      application whether to accept to proceed with pairing or not. This is
      for pairing over SMP and does not affect SSP, which will continue
      pairing without querying the application.
      The application can return an error code, which is translated into
      a SMP return value if the pairing is not allowed.

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