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 <Subsystem>/bluetooth/host/Kconfig:286
Included via Kconfig:8
→ Kconfig.zephyr:44
→ <Subsystem>/Kconfig:9
→ <Subsystem>/bluetooth/Kconfig:180
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.)