forked from espressif/esp-idf
If it is not esp32 chips, hide the configuration item: BT_BLE_RPA_SUPPORTED
This commit is contained in:
@@ -1071,9 +1071,8 @@ config BT_MAX_DEVICE_NAME_LEN
|
||||
|
||||
config BT_BLE_RPA_SUPPORTED
|
||||
bool "Update RPA to Controller"
|
||||
depends on BT_BLUEDROID_ENABLED
|
||||
default y if (IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3)
|
||||
default n if IDF_TARGET_ESP32
|
||||
depends on BT_BLUEDROID_ENABLED && IDF_TARGET_ESP32
|
||||
default n
|
||||
help
|
||||
This enables controller RPA list function.
|
||||
For ESP32, ESP32 only support network privacy mode. If this option is enabled, ESP32 will only accept
|
||||
@@ -1083,7 +1082,7 @@ config BT_BLE_RPA_SUPPORTED
|
||||
cannot be used. This option is disabled by default on ESP32, please enable or disable this option according
|
||||
to your own needs.
|
||||
|
||||
For ESP32C3 and esp32s3, devices support network privacy mode and device privacy mode, users can switch the
|
||||
For BLE other chips, devices support network privacy mode and device privacy mode, users can switch the
|
||||
two modes according to their own needs. So this option is enabled by default.
|
||||
|
||||
config BT_BLE_50_FEATURES_SUPPORTED
|
||||
|
@@ -18,6 +18,7 @@
|
||||
/* All the configuration from SDK defined here */
|
||||
#include "bt_common.h"
|
||||
#include "bt_user_config.h"
|
||||
#include "soc/soc_caps.h"
|
||||
|
||||
/**********************************************************
|
||||
* Thread/Task reference
|
||||
@@ -105,8 +106,12 @@
|
||||
#ifdef CONFIG_BT_BLE_RPA_SUPPORTED
|
||||
#define UC_BT_BLE_RPA_SUPPORTED CONFIG_BT_BLE_RPA_SUPPORTED
|
||||
#else
|
||||
#if SOC_BLE_DEVICE_PRIVACY_SUPPORTED
|
||||
#define UC_BT_BLE_RPA_SUPPORTED TRUE
|
||||
#else
|
||||
#define UC_BT_BLE_RPA_SUPPORTED FALSE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_BT_BLE_50_FEATURES_SUPPORTED
|
||||
#define UC_BT_BLE_50_FEATURES_SUPPORTED CONFIG_BT_BLE_50_FEATURES_SUPPORTED
|
||||
|
@@ -321,3 +321,8 @@
|
||||
*/
|
||||
#define SOC_SDMMC_USE_IOMUX 1
|
||||
#define SOC_SDMMC_NUM_SLOTS 2
|
||||
|
||||
|
||||
/*-------------------------- Bluetooth CAPS ----------------------------*/
|
||||
|
||||
#define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (0)
|
||||
|
@@ -306,3 +306,7 @@
|
||||
#define SOC_PM_SUPPORT_WIFI_PD (1)
|
||||
|
||||
#define SOC_PM_SUPPORT_BT_PD (1)
|
||||
|
||||
/*-------------------------- Bluetooth CAPS ----------------------------*/
|
||||
|
||||
#define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (1)
|
||||
|
@@ -279,3 +279,7 @@
|
||||
#define SOC_PM_SUPPORT_CPU_PD (1)
|
||||
|
||||
#define SOC_PM_SUPPORT_BT_PD (1)
|
||||
|
||||
/*-------------------------- Bluetooth CAPS ----------------------------*/
|
||||
|
||||
#define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (1)
|
||||
|
@@ -360,3 +360,7 @@
|
||||
#define SOC_SDMMC_NUM_SLOTS 2
|
||||
/* Indicates that there is an option to use XTAL clock instead of PLL for SDMMC */
|
||||
#define SOC_SDMMC_SUPPORT_XTAL_CLOCK 1
|
||||
|
||||
/*-------------------------- Bluetooth CAPS ----------------------------*/
|
||||
|
||||
#define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (1)
|
||||
|
Reference in New Issue
Block a user