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

Bluetooth: CAP: 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 bfaa1169
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1446,6 +1446,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_cap_broadcast_announcement[2]);
		data_array[0].type = BT_DATA_SVC_DATA16;