Bluetooth: Audio: Shell: Print BIS Sync as hex

Since the value is a bitfield, printing it as hex makes it easier
to use.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2022-12-15 19:54:57 +01:00 committed by Carles Cufí
commit f24e9d9fcd

View file

@ -128,7 +128,7 @@ static void bap_broadcast_assistant_recv_state_cb(
const struct bt_bap_scan_delegator_subgroup *subgroup = &state->subgroups[i];
struct net_buf_simple buf;
shell_print(ctx_shell, "\t[%d]: BIS sync %u, metadata_len %u",
shell_print(ctx_shell, "\t[%d]: BIS sync 0x%04X, metadata_len %u",
i, subgroup->bis_sync, subgroup->metadata_len);
net_buf_simple_init_with_data(&buf, (void *)subgroup->metadata,