Blob: scan-delegator.bt

Blob id: cc2b5afc98a3507f8f45b2e53d4dcc7ae6b646e3

Size: 1.2 KB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
power on
#
#
# Register Broadcast Sink endpoint
#
endpoint.register 00001851-0000-1000-8000-00805f9b34fb 0x06
y
a
3
4
#
# Start advertising and wait for a Broadcast Assistant
# to connect.
#
advertise on
#
#
# After the connection has been established, transports will
# be created for streams added by the Broadcast Assistant that
# match the audio capabilities chosen at endpoint register.
# Select the desired transport. If the stream is encrypted,
# a prompt will be displayed to enter the Broadacast Code for
# decrypting. If the code is unknown, the "no" option will
# request the code from the Broadcast Assistant.
#
# transport.select /org/bluez/hci0/dev_xx_xx_xx_xx_xx_xx/bis_n/fd_m
# [] Enter brocast code[value/no]: no
#
#
# If the Broadcast Assistant provided the Broadcast Code, the
# transport will transition to "broadcasting" state.
#
# [CHG] Transport /org/bluez/hci0/dev_xx_xx_xx_xx_xx_xx/bis_n/fd_m State: broadcasting
#
#
# Acquire the transport to start receiving audio.
#
# transport.acquire /org/bluez/hci0/dev_xx_xx_xx_xx_xx_xx/bis_n/fd_m
#
#
# Check that the transport has transitioned to "active" state
#
# [CHG] Transport /org/bluez/hci0/dev_xx_xx_xx_xx_xx_xx/bis_n/fd_m State: active