From 22f4a6af50097ab7644eaa0e0c79dc78c1989a33 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Wed, 19 Mar 2014 19:05:43 +0200 Subject: [PATCH] core: Add debug logs to track ATT discover progress --- src/device.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/device.c b/src/device.c index 1b7943615..4f29ba9cd 100644 --- a/src/device.c +++ b/src/device.c @@ -3425,6 +3425,8 @@ static void find_included_services(struct browse_req *req, GSList *services) struct included_search *search; struct gatt_primary *prim; + DBG("service count %u", g_slist_length(services)); + if (services == NULL) { DBG("No services found"); register_all_services(req, NULL); @@ -3445,6 +3447,8 @@ static void primary_cb(uint8_t status, GSList *services, void *user_data) { struct browse_req *req = user_data; + DBG("status %u", status); + if (status) { struct btd_device *device = req->device; -- 2.47.3