ble:Fixed issues of adv error stop and abnormal reporting of connection update complete event on ESP32-C2

This commit is contained in:
zwl
2023-02-10 12:23:50 +08:00
parent db59ab5000
commit f79d0e6a43
3 changed files with 4 additions and 9 deletions

View File

@@ -145,7 +145,7 @@ esp_err_t esp_ble_tx_power_set_enhanced(esp_ble_enhanced_power_type_t power_type
*/
esp_power_level_t esp_ble_tx_power_get_enhanced(esp_ble_enhanced_power_type_t power_type, uint16_t handle);
#define CONFIG_VERSION 0x20220824
#define CONFIG_VERSION 0x20230113
#define CONFIG_MAGIC 0x5A5AA5A5
/**
@@ -203,6 +203,7 @@ typedef struct {
uint8_t cca_drop_mode;
int8_t cca_low_tx_pwr;
uint8_t main_xtal_freq;
uint8_t ignore_wl_for_direct_adv;
uint32_t config_magic;
} esp_bt_controller_config_t;
@@ -254,6 +255,7 @@ typedef struct {
.dis_scan_backoff = NIMBLE_DISABLE_SCAN_BACKOFF, \
.ble_scan_classify_filter_enable = 0, \
.main_xtal_freq = CONFIG_XTAL_FREQ, \
.ignore_wl_for_direct_adv = 0, \
.config_magic = CONFIG_MAGIC, \
}