mirror of
https://github.com/esphome/esphome.git
synced 2025-10-13 15:23:49 +01:00
Speed up bluetooth proxy connections when using esp-idf (#4171)
This commit is contained in:
@@ -95,7 +95,9 @@ void BLEClientBase::release_services() {
|
||||
for (auto &svc : this->services_)
|
||||
delete svc; // NOLINT(cppcoreguidelines-owning-memory)
|
||||
this->services_.clear();
|
||||
#ifndef CONFIG_BT_GATTC_CACHE_NVS_FLASH
|
||||
esp_ble_gattc_cache_clean(this->remote_bda_);
|
||||
#endif
|
||||
}
|
||||
|
||||
bool BLEClientBase::gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_t esp_gattc_if,
|
||||
|
Reference in New Issue
Block a user