From c594291320709e51e90de9973200a00db91de89c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Dalleau?= Date: Wed, 26 Jun 2013 19:32:08 +0200 Subject: [PATCH] lib: SCO voice setting support header Modify headers to enable support for changing SCO voice setting. Corresponding commit implements functionality on kernel side. --- lib/bluetooth.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/bluetooth.h b/lib/bluetooth.h index 48323f06b..012fde40d 100644 --- a/lib/bluetooth.h +++ b/lib/bluetooth.h @@ -104,6 +104,14 @@ struct bt_security { */ #define BT_CHANNEL_POLICY_AMP_PREFERRED 2 +#define BT_VOICE 11 +struct bt_voice { + uint16_t setting; +}; + +#define BT_VOICE_TRANSPARENT 0x0003 +#define BT_VOICE_CVSD_16BIT 0x0060 + /* Connection and socket states */ enum { BT_CONNECTED = 1, /* Equal to TCP_ESTABLISHED to make net code happy */ -- 2.11.0