Commit bfaa1169 authored by Emil Gydesen's avatar Emil Gydesen Committed by Henrik Brix Andersen
Browse files

Bluetooth: BAP: Shell: Print generated broadcast ID



Since the broadcast ID is generated at runtime, it is nice
to get it printed so that it can be shared.

Signed-off-by: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent 7ec51764
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4341,6 +4341,7 @@ static size_t nonconnectable_ad_data_add(struct bt_data *data_array, const size_

			return 0;
		}
		bt_shell_print("Generated broadcast_id 0x%06X", broadcast_id);

		sys_put_le24(broadcast_id, &ad_bap_broadcast_announcement[2]);
		data_array[ad_len].type = BT_DATA_SVC_DATA16;