diff options
author | Frédéric Danis <frederic.danis@linux.intel.com> | 2011-06-21 14:49:46 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-06-20 04:18:11 -0500 |
commit | 6063c549331ae82a16902c8a168817bb0fe32da1 (patch) | |
tree | 8a2cc4827b66d03c876d71574581e70512292015 | |
parent | 41bea0be674421a152c417c2b80a40876fc22585 (diff) | |
download | ofono-6063c549331ae82a16902c8a168817bb0fe32da1.tar.bz2 |
include: add HFP features types for HF and AG
-rw-r--r-- | include/types.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h index d25f409c..536dac7b 100644 --- a/include/types.h +++ b/include/types.h @@ -115,6 +115,30 @@ struct ofono_uuid { unsigned char uuid[OFONO_SHA1_UUID_LEN]; }; +/* HFP AG supported features bitmap. Bluetooth HFP 1.5 spec page 77 */ +enum hfp_ag_feature { + HFP_AG_FEATURE_3WAY = 0x1, + HFP_AG_FEATURE_ECNR = 0x2, + HFP_AG_FEATURE_VOICE_RECOG = 0x4, + HFP_AG_FEATURE_IN_BAND_RING_TONE = 0x8, + HFP_AG_FEATURE_ATTACH_VOICE_TAG = 0x10, + 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 HF supported features bitmap. Bluetooth HFP 1.5 spec page 77 */ +enum hfp_hf_feature { + HFP_HF_FEATURE_ECNR = 0x1, + HFP_HF_FEATURE_3WAY = 0x2, + HFP_HF_FEATURE_CLIP = 0x4, + 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 +}; + const char *ofono_uuid_to_str(const struct ofono_uuid *uuid); void ofono_call_init(struct ofono_call *call); |