MDEP Id starts from 1, (0 value for Echo). HAL api sends mdep cfg index which starts from 0. --- android/health.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/health.c b/android/health.c index effa5e2..183608b 100644 --- a/android/health.c +++ b/android/health.c @@ -137,7 +137,7 @@ static void send_channel_state_notify(struct health_channel *channel, bdaddr2android(&channel->dev->dst, ev.bdaddr); ev.app_id = channel->dev->app_id; - ev.mdep_index = channel->mdep_id; + ev.mdep_index = channel->mdep_id - 1; ev.channel_id = channel->id; ev.channel_state = state; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html