From 8a11d389838dade71e09453b6c65a6c4ef5347d4 Mon Sep 17 00:00:00 2001 From: Vinicius Costa Gomes Date: Thu, 15 Aug 2013 23:26:04 -0300 Subject: [PATCH] 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. --- src/bluetooth.h | 9 +++++++++ 1 file changed, 9 insertions(+) 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];