1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 11:22:24 +01:00

Merge branch 'connection_params' into integration

This commit is contained in:
J. Nick Koston
2025-08-21 08:25:23 -05:00

View File

@@ -314,7 +314,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");