From bbd10bb9bc5e3504b24dc65132d65b34d6188d69 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 6 Jun 2025 09:37:36 -0400 Subject: [PATCH] client: Add script to PBP This adds a client script for testing Public Broadcast Profile. --- client/scripts/broadcast-source-pbp.bt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 client/scripts/broadcast-source-pbp.bt diff --git a/client/scripts/broadcast-source-pbp.bt b/client/scripts/broadcast-source-pbp.bt new file mode 100644 index 000000000..6c49ca06d --- /dev/null +++ b/client/scripts/broadcast-source-pbp.bt @@ -0,0 +1,19 @@ +power on +# Add PBP to EA so it can be later referenced as the BIS ID +advertise.service 0x1856 0x00 0x00 +advertise on +# Register Broadcast Sink endpoint +endpoint.register 00001852-0000-1000-8000-00805f9b34fb 0x06 +y +a +3 +4 +# Configure Broadcast Source with preset 16_2_1 +endpoint.config /org/bluez/hci0/pac_bcast0 /local/endpoint/ep0 16_2_1 +1 +1 +a +3 +0x03 0x02 0x04 0x00 +# Start Broadcast +transport.acquire /org/bluez/hci0/pac_bcast0/fd0 -- 2.47.3