hfp: Move HFP versions definitions to hfp.h

hfp.h should store all HFP related definitions.
This commit is contained in:
Paulo Borges 2013-04-15 18:41:49 -03:00 committed by Denis Kenzior
parent 4245df6200
commit 2e9cb14e26
2 changed files with 6 additions and 6 deletions

View File

@ -27,12 +27,6 @@
#define AG_CHLD_3 0x20
#define AG_CHLD_4 0x40
enum hfp_version {
HFP_VERSION_1_5 = 0x0105,
HFP_VERSION_1_6 = 0x0106,
HFP_VERSION_LATEST = HFP_VERSION_1_6,
};
enum hfp_indicator {
HFP_INDICATOR_SERVICE = 0,
HFP_INDICATOR_CALL,

View File

@ -50,3 +50,9 @@ enum hfp_codec {
HFP_CODEC_CVSD = 0x01,
HFP_CODEC_MSBC = 0x02,
};
enum hfp_version {
HFP_VERSION_1_5 = 0x0105,
HFP_VERSION_1_6 = 0x0106,
HFP_VERSION_LATEST = HFP_VERSION_1_6,
};