1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-03 20:02:22 +01:00
This commit is contained in:
J. Nick Koston
2025-08-21 08:25:13 -05:00
parent 2f101c0a20
commit 1ba37ca7c9

View File

@@ -303,7 +303,7 @@ bool BLEClientBase::gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_
// Service discovery period is critical - we typically have only 10s to complete
// discovery before the device disconnects us. Fast connection parameters are
// essential to finish service resolution in time and avoid retry loops.
if (this->connection_type_ == espbt::ConnectionType::V3_WITHOUT_CACHE) {
else if (this->connection_type_ == espbt::ConnectionType::V3_WITHOUT_CACHE) {
this->set_fast_conn_params_();
}
this->log_event_("Searching for services");