mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-15 15:00:02 +01:00
NimBLE: Add Host based privacy (RPA) feature support
- This feature removes dependency on controller to use privacy (RPA)
This commit is contained in:
committed by
Anton Maklakov
parent
a3816bcb75
commit
48bd2d74b4
@@ -480,6 +480,7 @@ if(CONFIG_BT_ENABLED)
|
||||
"host/nimble/nimble/nimble/host/src/ble_hs_adv.c"
|
||||
"host/nimble/nimble/nimble/host/src/ble_hs_hci.c"
|
||||
"host/nimble/nimble/nimble/host/src/ble_hs_hci_util.c"
|
||||
"host/nimble/nimble/nimble/host/src/ble_hs_resolv.c"
|
||||
"host/nimble/nimble/nimble/host/store/ram/src/ble_store_ram.c"
|
||||
"host/nimble/nimble/nimble/host/store/config/src/ble_store_config.c"
|
||||
"host/nimble/nimble/nimble/host/store/config/src/ble_store_nvs.c"
|
||||
|
||||
@@ -257,6 +257,15 @@ config BT_NIMBLE_HS_FLOW_CTRL_TX_ON_DISCONNECT
|
||||
Enable this option to send number-of-completed-packets event to
|
||||
controller after disconnection
|
||||
|
||||
config BT_NIMBLE_RPA_TIMEOUT
|
||||
int "RPA timeout in seconds"
|
||||
range 1 41400
|
||||
depends on BT_NIMBLE_ENABLED
|
||||
default 900
|
||||
help
|
||||
Time interval between RPA address change. This is applicable in case of
|
||||
Host based RPA
|
||||
|
||||
menuconfig BT_NIMBLE_MESH
|
||||
bool "Enable BLE mesh functionality"
|
||||
select BT_NIMBLE_SM_SC
|
||||
|
||||
Submodule components/bt/host/nimble/nimble updated: d60a322f54...e4e2b50141
@@ -543,8 +543,12 @@
|
||||
#define MYNEWT_VAL_BLE_MONITOR_UART_DEV ("uart0")
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_HOST_BASED_PRIVACY
|
||||
#define MYNEWT_VAL_BLE_HOST_BASED_PRIVACY (1)
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_RPA_TIMEOUT
|
||||
#define MYNEWT_VAL_BLE_RPA_TIMEOUT (300)
|
||||
#define MYNEWT_VAL_BLE_RPA_TIMEOUT (CONFIG_BT_NIMBLE_RPA_TIMEOUT)
|
||||
#endif
|
||||
|
||||
#ifndef MYNEWT_VAL_BLE_SM_BONDING
|
||||
|
||||
Reference in New Issue
Block a user