mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 11:17:20 +02:00
If it is not esp32 chips, hide the configuration item: BT_BLE_RPA_SUPPORTED
This commit is contained in:
@ -1057,9 +1057,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
|
||||
@ -1069,7 +1068,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
|
||||
@ -91,8 +92,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
|
||||
|
@ -278,3 +278,6 @@
|
||||
# define CAN_BRP_DIV_SUPPORTED SOC_TWAI_BRP_DIV_SUPPORTED
|
||||
# define CAN_BRP_DIV_THRESH SOC_TWAI_BRP_DIV_THRESH
|
||||
#endif
|
||||
|
||||
/* ---------------------------- Bluetooth ------------------------------- */
|
||||
#define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (0)
|
||||
|
@ -271,3 +271,6 @@
|
||||
#define SOC_PM_SUPPORT_WIFI_PD (1)
|
||||
|
||||
#define SOC_PM_SUPPORT_BT_PD (1)
|
||||
|
||||
/* ---------------------------- Bluetooth ------------------------------- */
|
||||
#define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (1)
|
||||
|
@ -184,3 +184,6 @@
|
||||
#define SOC_SPI_MEM_SUPPORT_SW_SUSPEND (1)
|
||||
/*-------------------------- COEXISTENCE HARDWARE PTI CAPS -------------------------------*/
|
||||
#define SOC_COEX_HW_PTI (1)
|
||||
|
||||
/* ---------------------------- Bluetooth ------------------------------- */
|
||||
#define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (1)
|
||||
|
Reference in New Issue
Block a user