diff --git a/android/gatt.c b/android/gatt.c
index 532a416..70cd5fe 100644
--- a/android/gatt.c
+++ b/android/gatt.c
srvc->incl.range.end;
}
+ DBG("attr handle = 0x%04x, end handle = 0x%04x uuid: %s",
+ ch->ch.handle, ch->end_handle, ch->ch.uuid);
+
if (!queue_push_tail(srvc->chars, ch)) {
error("gatt: Error while caching characteristic");
destroy_characteristic(ch);
descr->id.instance = i++;
descr->handle = desc->handle;
+ DBG("attr handle = 0x%04x, uuid: %s", desc->handle, desc->uuid);
+
if (!queue_push_tail(ch->descriptors, descr))
free(descr);
}