projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e11237
)
bluetooth: Add define for SCO voice settings
author
Vinicius Costa Gomes
<vcgomes@gmail.com>
Fri, 16 Aug 2013 02:26:04 +0000
(23:26 -0300)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 19 Aug 2013 17:14:39 +0000
(12:14 -0500)
Add defines for SCO voice setting (Air Coding). Air mode "Transparent
Data" shall be supported if wide band speech is supported.
src/bluetooth.h
patch
|
blob
|
history
diff --git
a/src/bluetooth.h
b/src/bluetooth.h
index af6f02c18f33148cc4cf0635889c92fe49dc1a24..825da3e52004da6297aaed77fb8382598d9c5943 100644
(file)
--- 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];