diff --git a/android/health.c b/android/health.c
index 9c9fce4..79b59fd 100644
--- a/android/health.c
+++ b/android/health.c
{
struct health_channel *channel = data;
+ DBG("channel %p", channel);
+
if (!channel)
return;
struct health_channel *channel = data;
struct health_device *dev;
- DBG("");
-
if (!channel)
return;
dev = channel->dev;
+
+ DBG("device %p channel %p mdl %p", dev, channel, mdl);
+
/* mdl == NULL means, delete all mdls */
if (!mdl) {
queue_foreach(dev->channels, notify_channel, NULL);
struct health_channel *channel = NULL;
bdaddr_t addr;
+ DBG("mcl %p mdepid %u", mcl, mdepid);
+
mcap_mcl_get_addr(mcl, &addr);
/* TODO: Search app for mdepid */
if (!get_mdep_from_rec(recs->data, mdep->role, mdep->data_type,
&mdep_id)) {
- error("health: no matching MDEP found");
+ error("health: no matching MDEP: %u", channel->mdep_id);
goto fail;
}