Add conn_id to verbose log message for ble gattc events

This commit is contained in:
Jesse Hills 2022-11-07 08:00:28 +13:00
parent 1554c5700e
commit 3792823c24
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
1 changed files with 2 additions and 2 deletions

View File

@ -83,8 +83,8 @@ bool BLEClientBase::gattc_event_handler(esp_gattc_cb_event_t event, esp_gatt_if_
if (event != ESP_GATTC_REG_EVT && esp_gattc_if != ESP_GATT_IF_NONE && esp_gattc_if != this->gattc_if_)
return false;
ESP_LOGV(TAG, "[%d] [%s] gattc_event_handler: event=%d gattc_if=%d", this->connection_index_,
this->address_str_.c_str(), event, esp_gattc_if);
ESP_LOGV(TAG, "[%d] [%s] gattc_event_handler: event=%d gattc_if=%d conn_id=%d", this->connection_index_,
this->address_str_.c_str(), event, esp_gattc_if, this->conn_id_);
switch (event) {
case ESP_GATTC_REG_EVT: {