mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
components/bt: Delete BLE ADV priority high
This commit is contained in:
@@ -426,21 +426,6 @@ menu "Bluetooth"
|
|||||||
If you set `BTDM_BLE_ADV_REPORT_DISCARD_THRSHOLD` to a small value or printf every adv lost event, it
|
If you set `BTDM_BLE_ADV_REPORT_DISCARD_THRSHOLD` to a small value or printf every adv lost event, it
|
||||||
may cause adv packets lost more.
|
may cause adv packets lost more.
|
||||||
|
|
||||||
menuconfig BTDM_COEX_BT_OPTIONS
|
|
||||||
bool "Coexistence Bluetooth Side Options"
|
|
||||||
depends on ESP32_WIFI_SW_COEXIST_ENABLE
|
|
||||||
default n
|
|
||||||
help
|
|
||||||
Options of Bluetooth Side of WiFi and bluetooth coexistence.
|
|
||||||
|
|
||||||
config BTDM_COEX_BLE_ADV_HIGH_PRIORITY
|
|
||||||
bool "Improve BLE ADV priority for WiFi & BLE coexistence"
|
|
||||||
depends on BTDM_COEX_BT_OPTIONS
|
|
||||||
default n
|
|
||||||
help
|
|
||||||
Improve BLE ADV coexistence priority to make it better performance.
|
|
||||||
For example, BLE mesh need to enable this option to improve BLE adv performance.
|
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
choice BT_HOST
|
choice BT_HOST
|
||||||
|
@@ -222,7 +222,6 @@ extern int coex_bt_release_wrapper(uint32_t event);
|
|||||||
extern int coex_register_bt_cb_wrapper(coex_func_cb_t cb);
|
extern int coex_register_bt_cb_wrapper(coex_func_cb_t cb);
|
||||||
extern uint32_t coex_bb_reset_lock_wrapper(void);
|
extern uint32_t coex_bb_reset_lock_wrapper(void);
|
||||||
extern void coex_bb_reset_unlock_wrapper(uint32_t restore);
|
extern void coex_bb_reset_unlock_wrapper(uint32_t restore);
|
||||||
extern void coex_ble_adv_priority_high_set(bool high);
|
|
||||||
|
|
||||||
extern char _bss_start_btdm;
|
extern char _bss_start_btdm;
|
||||||
extern char _bss_end_btdm;
|
extern char _bss_end_btdm;
|
||||||
@@ -1313,12 +1312,6 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg)
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_BTDM_COEX_BLE_ADV_HIGH_PRIORITY
|
|
||||||
coex_ble_adv_priority_high_set(true);
|
|
||||||
#else
|
|
||||||
coex_ble_adv_priority_high_set(false);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
btdm_controller_status = ESP_BT_CONTROLLER_STATUS_INITED;
|
btdm_controller_status = ESP_BT_CONTROLLER_STATUS_INITED;
|
||||||
|
|
||||||
return ESP_OK;
|
return ESP_OK;
|
||||||
|
Submodule components/bt/controller/lib updated: 80c4416e20...048bb4ba32
Reference in New Issue
Block a user