Add defines for SCO voice setting (Air Coding). Air mode "Transparent
Data" shall be supported if wide band speech is supported.
---
 src/bluetooth.h | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/src/bluetooth.h b/src/bluetooth.h
index af6f02c..f2fd7d5 100644
--- a/src/bluetooth.h
+++ b/src/bluetooth.h
@@ -54,6 +54,18 @@ struct sockaddr_sco {
        bdaddr_t        sco_bdaddr;
 };
 
+/* SCO socket options */
+#define SCO_OPTIONS            0x01
+
+#define SCO_MODE_CVSD          0x00
+#define SCO_MODE_TRANSPARENT   0x01
+#define SCO_MODE_ENHANCED      0x02
+
+struct sco_options {
+       uint16_t mtu;
+       uint8_t mode;
+};
+
 static inline void bt_bacpy(bdaddr_t *dst, const bdaddr_t *src)
 {
        memcpy(dst, src, sizeof(bdaddr_t));
-- 
1.7.11.7

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to