forked from espressif/esp-idf
fix(nimble): Added option to stack to handle repeat pairing internally
This commit is contained in:
@ -559,6 +559,16 @@ config BT_NIMBLE_MAX_CONN_REATTEMPT
|
||||
help
|
||||
Defines maximum number of connection reattempts.
|
||||
|
||||
config BT_NIMBLE_HANDLE_REPEAT_PAIRING_DELETION
|
||||
bool "Enable stack handling of repeat pairing"
|
||||
default n
|
||||
depends on BT_NIMBLE_ENABLED
|
||||
help
|
||||
Use this option to let stack internally handle the request for repeat pairing.
|
||||
Enabling this option will delete the pairing of the device and stack will NOT post any event
|
||||
to application. If this option is disabled, application will get BLE_GAP_EVENT_REPEAT_PAIRING
|
||||
event.
|
||||
|
||||
menuconfig BT_NIMBLE_50_FEATURE_SUPPORT
|
||||
bool "Enable BLE 5 feature"
|
||||
depends on BT_NIMBLE_ENABLED && (SOC_BLE_50_SUPPORTED || !BT_CONTROLLER_ENABLED)
|
||||
|
Submodule components/bt/host/nimble/nimble updated: 7d06b1c8ca...7c18dde8d7
@ -2024,4 +2024,12 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_HANDLE_REPEAT_PAIRING_DELETION
|
||||
#ifdef CONFIG_BT_NIMBLE_HANDLE_REPEAT_PAIRING_DELETION
|
||||
#define MYNEWT_VAL_BLE_HANDLE_REPEAT_PAIRING_DELETION (CONFIG_BT_NIMBLE_HANDLE_REPEAT_PAIRING_DELETION)
|
||||
#else
|
||||
#define MYNEWT_VAL_BLE_HANDLE_REPEAT_PAIRING_DELETION (0)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user