mirror of
https://github.com/esphome/esphome.git
synced 2025-09-06 05:12:21 +01:00
[esp32_ble_client] Add missing ESP_GATTC_UNREG_FOR_NOTIFY_EVT logging
This commit is contained in:
@@ -484,6 +484,13 @@ bool BLEClientBase::gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_
|
|||||||
break;
|
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:
|
default:
|
||||||
// ideally would check all other events for matching conn_id
|
// 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);
|
ESP_LOGD(TAG, "[%d] [%s] Event %d", this->connection_index_, this->address_str_.c_str(), event);
|
||||||
|
Reference in New Issue
Block a user