mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-02 06:38:47 +00:00
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(566c8e3)
- Support BLE vendor hci set RX sensitivity and AGC gain command - Fixed enhanced TX power setting and getting for legacy adv - Fixed BLE assert lld_con.c 2387 - Fixed compatibility issues during the encryption procedure - Support BLE vendor hci enable CCA command
This commit is contained in:
@@ -83,13 +83,16 @@ choice BT_BLE_CCA_MODE
|
||||
default BT_BLE_CCA_MODE_NONE
|
||||
help
|
||||
Define BT BLE CCA mode
|
||||
Note that if CCA feature is enabled, the hardware may not transmit packets due to channel busy.
|
||||
Therefore, it may potentially lead to an increase in the time taken for scanning advertising packet
|
||||
and establishing connections, or a decrease in the throughput rate of the connection.
|
||||
|
||||
config BT_BLE_CCA_MODE_NONE
|
||||
bool "NONE"
|
||||
config BT_BLE_CCA_MODE_HW
|
||||
bool "Hardware"
|
||||
config BT_BLE_CCA_MODE_SW
|
||||
bool "Software"
|
||||
bool "Software (experimental)"
|
||||
endchoice
|
||||
|
||||
config BT_BLE_CCA_MODE
|
||||
|
Submodule components/bt/controller/lib_esp32c3_family updated: daab5dbba9...2fd7ad255f
@@ -495,7 +495,7 @@ typedef struct {
|
||||
uint8_t ble_cca_mode; /*!< BLE CCA mode. Configurable in menuconfig
|
||||
- 0 - Disable (default)
|
||||
- 1 - Hardware-triggered CCA
|
||||
- 2 - Software-based CCA */
|
||||
- 2 - Software-based CCA (experimental) */
|
||||
uint8_t ble_data_lenth_zero_aux; /*!< Enable / disable auxiliary packets when the extended ADV data length is zero. Configurable in menuconfig.
|
||||
- 0 - Disable (default)
|
||||
- 1 - Enable */
|
||||
|
@@ -158,6 +158,8 @@ struct bt_hci_vs_le_adv_lost_evt {
|
||||
#define ESP_BT_VS_CFG_TEST_GET_CTRL_COMPILE_VER_SUBCMD (0X24)
|
||||
#define ESP_BT_VS_CFG_TEST_SET_AUX_ADV_OFFSET_SUBCMD (0X25)
|
||||
#define ESP_BT_VS_CFG_TEST_SET_AUX_OFFSET_THRESHOLD_SUBCMD (0X2b)
|
||||
#define ESP_BT_VS_CFG_TEST_SET_RX_SENS_THRESH_SUBCMD (0X31)
|
||||
#define ESP_BT_VS_CFG_TEST_SET_AGC_MAX_GAIN_SUBCMD (0X39)
|
||||
#define ESP_BT_VS_CFG_TEST_RELATED_SUBCMD_MAX (0Xff)
|
||||
|
||||
//
|
||||
|
Reference in New Issue
Block a user