summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vcgomes@gmail.com>2013-08-15 23:26:04 -0300
committerDenis Kenzior <denkenz@gmail.com>2013-08-19 12:14:39 -0500
commit8a11d389838dade71e09453b6c65a6c4ef5347d4 (patch)
tree330d6cff41a3290d693403fd6dd1f0ecb45953ca
parent9e112379b59c5ad64cdff63f6e125b021d5ec046 (diff)
downloadofono-8a11d389838dade71e09453b6c65a6c4ef5347d4.tar.bz2
bluetooth: Add define for SCO voice settings
Add defines for SCO voice setting (Air Coding). Air mode "Transparent Data" shall be supported if wide band speech is supported.
-rw-r--r--src/bluetooth.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/bluetooth.h b/src/bluetooth.h
index af6f02c1..825da3e5 100644
--- a/src/bluetooth.h
+++ b/src/bluetooth.h
@@ -34,6 +34,15 @@
#define BT_DEFER_SETUP 7
+
+#define BT_VOICE 11
+struct bt_voice {
+ uint16_t setting;
+};
+
+#define BT_VOICE_TRANSPARENT 0x0003
+#define BT_VOICE_CVSD_16BIT 0x0060
+
/* BD Address */
typedef struct {
uint8_t b[6];