samples: Bluetooth: iso_receive: Print ISO information

Update the sample to print the ISO information like flags,
sequence number and timestamp received in the ISO receive
callback.

Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
This commit is contained in:
Vinayak Kariappa Chettimada 2022-04-22 07:21:49 +05:30 committed by Carles Cufí
commit 6f84446659

View file

@ -221,8 +221,9 @@ static void iso_recv(struct bt_iso_chan *chan, const struct bt_iso_recv_info *in
}
str_len = bin2hex(buf->data, buf->len, data_str, sizeof(data_str));
printk("Incoming data channel %p len %u: %s (counter value %u)\n",
chan, buf->len, data_str, count);
printk("Incoming data channel %p flags 0x%x sn %u ts %u len %u: %s "
"(counter value %u)\n", chan, info->flags, info->sn, info->ts,
buf->len, data_str, count);
}
static void iso_connected(struct bt_iso_chan *chan)