1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-18 15:55:46 +00:00

Merge remote-tracking branch 'origin/event_39' into integration

This commit is contained in:
J. Nick Koston
2025-08-20 20:24:22 -05:00
2 changed files with 8 additions and 1 deletions

View File

@@ -496,6 +496,13 @@ bool BLEClientBase::gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_
break;
}
case ESP_GATTC_UNREG_FOR_NOTIFY_EVT: {
if (this->conn_id_ != param->unreg_for_notify.conn_id)
return false;
this->log_gattc_event_("UNREG_FOR_NOTIFY");
break;
}
default:
// ideally would check all other events for matching conn_id
ESP_LOGD(TAG, "[%d] [%s] Event %d", this->connection_index_, this->address_str_.c_str(), event);