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

[esp32_ble_client] Add missing ESP_GATTC_UNREG_FOR_NOTIFY_EVT logging

This commit is contained in:
J. Nick Koston
2025-08-20 20:23:37 -05:00
parent 33eddb6035
commit a6850786e2

View File

@@ -484,6 +484,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);