Bluetooth: Audio: Modify broadcast_id prints/logs to use 24-bit
Always print/log the 24-bits (as hex) of the broadcast ID to better use it with e.g. the shell. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
f2ce934209
commit
a180c013db
4 changed files with 4 additions and 4 deletions
|
@ -84,7 +84,7 @@ static void bap_broadcast_assistant_scan_cb(const struct bt_le_scan_recv_info *i
|
|||
(void)memset(name, 0, sizeof(name));
|
||||
|
||||
bt_addr_le_to_str(info->addr, le_addr, sizeof(le_addr));
|
||||
shell_print(ctx_shell, "[DEVICE]: %s (%s), broadcast_id %u, "
|
||||
shell_print(ctx_shell, "[DEVICE]: %s (%s), broadcast_id 0x%06X, "
|
||||
"interval (ms) %u), SID 0x%x, RSSI %i",
|
||||
le_addr, name, broadcast_id, info->interval * 5 / 4,
|
||||
info->sid, info->rssi);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue