Bluetooth: BAP: Shell: Print received broadcast code

Print the received broadcast code as the scan delegator.

Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
Emil Gydesen 2023-06-19 19:50:21 +02:00 committed by Fabio Baltieri
parent dc7fbc5d2e
commit 9d3f594432

View file

@ -294,6 +294,7 @@ static void broadcast_code_cb(struct bt_conn *conn,
struct sync_state *state;
shell_info(ctx_shell, "Broadcast code received for %p", recv_state);
shell_hexdump(ctx_shell, broadcast_code, BT_AUDIO_BROADCAST_CODE_SIZE);
state = sync_state_get(recv_state);
if (state == NULL) {