diff --git a/components/bt/lib b/components/bt/lib index 228f5478ce..a4d37904a4 160000 --- a/components/bt/lib +++ b/components/bt/lib @@ -1 +1 @@ -Subproject commit 228f5478cef3812f153549ca09bc9ad0f49f4768 +Subproject commit a4d37904a48020954b438b4ff7b9d8a65ea9b246 diff --git a/components/esp32/include/esp_coexist.h b/components/esp32/include/esp_coexist.h index 7d31e86027..6def75c571 100644 --- a/components/esp32/include/esp_coexist.h +++ b/components/esp32/include/esp_coexist.h @@ -84,6 +84,20 @@ esp_err_t esp_coex_status_bit_set(esp_coex_status_type_t type, uint32_t status); */ esp_err_t esp_coex_status_bit_clear(esp_coex_status_type_t type, uint32_t status); +/** + * @brief Enable BLE connection dynamic priority + * @attention If the parameter is true, BLE connection performance will be better but WiFi performance + * will be poorer. And vice versa. + * @param low_interval : true - Increase BLE connection priority to be higher than WiFi's when BLE + * connection interval is less or equal than 50 ms. The default value + * is false. + * false - not increace + * @param high_interval : true - Increase BLE connection priority to be higher than WiFi's when BLE + * connection interval is more than 50 ms. The default value is true. + * false - not increace + * @return : ESP_OK - success, other - failed + */ +esp_err_t esp_coex_ble_conn_dynamic_prio_enable(bool low_interval, bool high_interval); #ifdef __cplusplus } diff --git a/components/esp32/lib b/components/esp32/lib index dab12d8e83..d615eeaadf 160000 --- a/components/esp32/lib +++ b/components/esp32/lib @@ -1 +1 @@ -Subproject commit dab12d8e83eab47f7ee2698ba491a42c76f475d7 +Subproject commit d615eeaadf55960eee64f44ca53fe0d50813dda1