summaryrefslogtreecommitdiffstats
path: root/include/types.h
diff options
context:
space:
mode:
authorFrédéric Danis <frederic.danis@linux.intel.com>2011-08-31 17:21:31 +0200
committerDenis Kenzior <denkenz@gmail.com>2011-09-08 03:28:14 -0500
commitf52faaecde61c7e49aa30456f954f13581450f93 (patch)
treeacfaa815b838c4d021d3471665bf9bc70b5e28c4 /include/types.h
parent4a8db5985b23500fc581447ca8ceb74967a80f18 (diff)
downloadofono-f52faaecde61c7e49aa30456f954f13581450f93.tar.bz2
include: update HFP features types to version 1.6
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/types.h b/include/types.h
index 536dac7b..0a3b72c6 100644
--- a/include/types.h
+++ b/include/types.h
@@ -115,7 +115,7 @@ struct ofono_uuid {
unsigned char uuid[OFONO_SHA1_UUID_LEN];
};
-/* HFP AG supported features bitmap. Bluetooth HFP 1.5 spec page 77 */
+/* HFP AG supported features bitmap. Bluetooth HFP 1.6 spec page 88 */
enum hfp_ag_feature {
HFP_AG_FEATURE_3WAY = 0x1,
HFP_AG_FEATURE_ECNR = 0x2,
@@ -125,10 +125,11 @@ enum hfp_ag_feature {
HFP_AG_FEATURE_REJECT_CALL = 0x20,
HFP_AG_FEATURE_ENHANCED_CALL_STATUS = 0x40,
HFP_AG_FEATURE_ENHANCED_CALL_CONTROL = 0x80,
- HFP_AG_FEATURE_EXTENDED_RES_CODE = 0x100
+ HFP_AG_FEATURE_EXTENDED_RES_CODE = 0x100,
+ HFP_AG_FEATURE_CODEC_NEGOTIATION = 0x200
};
-/* HFP HF supported features bitmap. Bluetooth HFP 1.5 spec page 77 */
+/* HFP HF supported features bitmap. Bluetooth HFP 1.6 spec page 88 */
enum hfp_hf_feature {
HFP_HF_FEATURE_ECNR = 0x1,
HFP_HF_FEATURE_3WAY = 0x2,
@@ -136,7 +137,8 @@ enum hfp_hf_feature {
HFP_HF_FEATURE_VOICE_RECOGNITION = 0x8,
HFP_HF_FEATURE_REMOTE_VOLUME_CONTROL = 0x10,
HFP_HF_FEATURE_ENHANCED_CALL_STATUS = 0x20,
- HFP_HF_FEATURE_ENHANCED_CALL_CONTROL = 0x40
+ HFP_HF_FEATURE_ENHANCED_CALL_CONTROL = 0x40,
+ HFP_HF_FEATURE_CODEC_NEGOTIATION = 0x80
};
const char *ofono_uuid_to_str(const struct ofono_uuid *uuid);