forked from edrosten/bluez
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsco-ipc-api.txt
37 lines (27 loc) · 1.24 KB
/
sco-ipc-api.txt
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
Bluetooth SCO Audio Plugin
==========================
The SCO Audio Plugin communicate through abstract socket name
"\0bluez_sco_socket".
.----SCO----. .--Android--.
| Plugin | | Daemon |
| | Command | |
| | --------------------------> | |
| | | |
| | <-------------------------- | |
| | Response | |
| | | |
| | | |
| | | |
'-----------' '-----------'
SCO HAL Daemon
----------------------------------------------------
call get_fd() --> Get SCO socket fd
return get_fd() <-- Return SCO socket fd and mtu
SCO Audio Service (ID 0)
========================
Opcode 0x00 - Error response
Response parameters: Status (1 octet)
Opcode 0x01 - Get SCO fd command
Command parameters: Remote address (6 octets)
Response parameters: MTU (2 octets)
File descriptor (inline)