Skip to content
Commit bf361aa6 authored by Martin Rieva's avatar Martin Rieva Committed by Johan Hedberg
Browse files

Bluetooth: Host: Add CONFIG_BT_BONDING_REQUIRED flag



Added configuration for accepting pairing requests only if both devices
has bonding flag set in order to reject other devices at an early stage,
thus leaving more chance for devices expected to bond.

With the CONFIG_BT_BONDING_REQUIRED flag the device only accept pairing
requests if it has CONFIG_BT_BONMDABLE set and the device requesting
pairing has Bonding_Flags field set to Bonding (0x01) in its AuthReq.
Note: When using bt_set_bondable(false) pairing requests will be
rejected when CONFIG_BT_BONDING_REQUIRED is set.

Signed-off-by: default avatarMartin Rieva <mrrv@demant.com>
parent f30bed35
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment