Skip to content

Commit c594291

Browse files
Frédéric DalleauJohan Hedberg
Frédéric Dalleau
authored and
Johan Hedberg
committed
lib: SCO voice setting support header
Modify headers to enable support for changing SCO voice setting. Corresponding commit implements functionality on kernel side.
1 parent a79f22a commit c594291

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/bluetooth.h

+8
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,14 @@ struct bt_security {
104104
*/
105105
#define BT_CHANNEL_POLICY_AMP_PREFERRED 2
106106

107+
#define BT_VOICE 11
108+
struct bt_voice {
109+
uint16_t setting;
110+
};
111+
112+
#define BT_VOICE_TRANSPARENT 0x0003
113+
#define BT_VOICE_CVSD_16BIT 0x0060
114+
107115
/* Connection and socket states */
108116
enum {
109117
BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */

0 commit comments

Comments
 (0)