blob: 6fcaa72d74f2fbeaaba54d00fb00f5cac0d6ff8c (
plain)
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
|
bluez headsetd pulseaudio
| | |
|<---------------------| |
| RegisterProfile | |
| |<----------------------|
| | RegisterAgent |
| | |
| | |
|--------------------->| |
bluetooth | NewConnection |---------------------->|
connection | | NewConnection | Agent can choose to
| | | manage rfcomm or not
| | |
| | | A new Headset Device h
| | | is made
| | |
| |<----------------------|
| | h.Connect | On the new device, we
| | | can get fd to read/write
| | |
| | |
| |<----------------------|
| | h.Disconnect |
| | |
|--------------------->| |
| RequestDisconnection | |
| | | Release all transport
| |---------------------->|
| | RequestDisconnection |
| | |
| | |
|