|
1 | 1 | /* |
2 | | - * SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD |
| 2 | + * SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD |
3 | 3 | * |
4 | 4 | * SPDX-License-Identifier: Apache-2.0 |
5 | 5 | */ |
@@ -156,7 +156,7 @@ esp_err_t esp_ble_tx_power_set_enhanced(esp_ble_enhanced_power_type_t power_type |
156 | 156 | */ |
157 | 157 | esp_power_level_t esp_ble_tx_power_get_enhanced(esp_ble_enhanced_power_type_t power_type, uint16_t handle); |
158 | 158 |
|
159 | | -#define CONFIG_VERSION 0x20241121 |
| 159 | +#define CONFIG_VERSION 0x20250104 |
160 | 160 | #define CONFIG_MAGIC 0x5A5AA5A5 |
161 | 161 |
|
162 | 162 | /** |
@@ -215,6 +215,15 @@ typedef struct { |
215 | 215 | uint8_t csa2_select; /*!< Select CSA#2*/ |
216 | 216 | uint8_t enable_csr; /*!< Enable CSR */ |
217 | 217 | uint8_t ble_aa_check; /*!< True if adds a verification step for the Access Address within the CONNECT_IND PDU; false otherwise. Configurable in menuconfig */ |
| 218 | + uint8_t ble_llcp_disc_flag; /*!< Flag indicating whether the Controller disconnects after Instant Passed (0x28) error occurs. Configurable in menuconfig. |
| 219 | + - The Controller does not disconnect after Instant Passed (0x28) by default. */ |
| 220 | + uint16_t scan_backoff_upperlimitmax; /*!< The value of upperlimitmax is 2^n, The maximum value is 256 */ |
| 221 | + uint8_t ble_chan_ass_en; /*!< Enable / disable BLE channel assessment. Configurable in menuconfig. |
| 222 | + - 0 - Disable |
| 223 | + - 1 - Enable (default) */ |
| 224 | + uint8_t ble_data_lenth_zero_aux; /*!< Enable / disable auxiliary packets when the extended ADV data length is zero. Configurable in menuconfig. |
| 225 | + - 0 - Disable (default) |
| 226 | + - 1 - Enable */ |
218 | 227 | uint32_t config_magic; /*!< Magic number for configuration validation */ |
219 | 228 | } esp_bt_controller_config_t; |
220 | 229 |
|
@@ -266,6 +275,10 @@ typedef struct { |
266 | 275 | .csa2_select = DEFAULT_BT_LE_50_FEATURE_SUPPORT, \ |
267 | 276 | .enable_csr = 0, \ |
268 | 277 | .ble_aa_check = DEFAULT_BT_LE_CTRL_CHECK_CONNECT_IND_ACCESS_ADDRESS, \ |
| 278 | + .ble_llcp_disc_flag = BT_LE_CTRL_LLCP_DISC_FLAG, \ |
| 279 | + .scan_backoff_upperlimitmax = BT_CTRL_SCAN_BACKOFF_UPPERLIMITMAX, \ |
| 280 | + .ble_chan_ass_en = DEFAULT_BT_LE_CTRL_CHAN_ASS_EN, \ |
| 281 | + .ble_data_lenth_zero_aux = DEFAULT_BT_LE_CTRL_ADV_DATA_LENGTH_ZERO_AUX, \ |
269 | 282 | .config_magic = CONFIG_MAGIC, \ |
270 | 283 | } |
271 | 284 | #elif CONFIG_IDF_TARGET_ESP32C61 |
@@ -315,6 +328,10 @@ typedef struct { |
315 | 328 | .csa2_select = DEFAULT_BT_LE_50_FEATURE_SUPPORT, \ |
316 | 329 | .enable_csr = 0, \ |
317 | 330 | .ble_aa_check = DEFAULT_BT_LE_CTRL_CHECK_CONNECT_IND_ACCESS_ADDRESS, \ |
| 331 | + .ble_llcp_disc_flag = BT_LE_CTRL_LLCP_DISC_FLAG, \ |
| 332 | + .scan_backoff_upperlimitmax = BT_CTRL_SCAN_BACKOFF_UPPERLIMITMAX, \ |
| 333 | + .ble_chan_ass_en = DEFAULT_BT_LE_CTRL_CHAN_ASS_EN, \ |
| 334 | + .ble_data_lenth_zero_aux = DEFAULT_BT_LE_CTRL_ADV_DATA_LENGTH_ZERO_AUX, \ |
318 | 335 | .config_magic = CONFIG_MAGIC, \ |
319 | 336 | } |
320 | 337 | #endif |
|
0 commit comments