Bluetooth: smp: adding LE SC OOB support for peripheral side

Added support for the LE SC pairing with the OOB data. The peripheral
side is only supported for now.

Signed-off-by: Kamil Piszczek <Kamil.Piszczek@nordicsemi.no>
This commit is contained in:
Kamil Piszczek 2019-03-12 11:04:48 +01:00 committed by Carles Cufí
commit e4409d5d7d
4 changed files with 304 additions and 25 deletions

View file

@ -311,6 +311,15 @@ config BT_BONDABLE
Bonding flag in AuthReq of SMP Pairing Request/Response will be set
indicating the support for this mode.
config BT_OOB_DATA_FIXED
bool "Use a fixed random number for LESC OOB pairing"
depends on BT_TESTING
help
With this option enabled, the application will be able to perform LESC
pairing with OOB data that consists of fixed random number and confirm
value. This option should only be enabled for debugging and should
never be used in production.
endif # BT_SMP
config BT_L2CAP_DYNAMIC_CHANNEL