Add LOG_LV2 for BLE Characteristic UUIDs on Discovery

This commit is contained in:
Sky Young committed 2022-05-16 18:45:26 -06:00
1 parent b3b3fe1ebc
commit 98a0e1648d
1 file changed
+4
@@ -240,6 +240,10 @@ void BLEDiscovery::_eventHandler(ble_evt_t* evt)
LOG_LV2("DISC", "[CHR] Characteristic Count: %d", chr_rsp->count);
for (uint8_t i; i < chr_rsp->count; i++) {
LOG_LV2("DISC", "[CHR] Characteristic #%d: 0x%04X", i, chr_rsp->chars[i].uuid.uuid);
}
if (gattc->gatt_status == BLE_GATT_STATUS_SUCCESS)
{
if ( chr_rsp->count )