OSDN Git Service

lib: SCO voice setting support header
authorFrédéric Dalleau <frederic.dalleau@linux.intel.com>
Wed, 26 Jun 2013 17:32:08 +0000 (19:32 +0200)
committerJohan Hedberg <johan.hedberg@intel.com>
Thu, 1 Aug 2013 09:32:11 +0000 (12:32 +0300)
Modify headers to enable support for changing SCO voice setting.
Corresponding commit implements functionality on kernel side.

lib/bluetooth.h

index 48323f0..012fde4 100644 (file)
@@ -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 */