bt: Update HFP version to v1.8

This commit is contained in:
xiongweichao 2022-11-18 16:52:32 +08:00
parent e5794669de
commit 71bd180095
5 changed files with 5 additions and 3 deletions

View File

@ -272,7 +272,7 @@ const tBTA_AG_ST_TBL bta_ag_st_tbl[] =
/*****************************************************************************
** Global data
*****************************************************************************/
const uint16_t bta_ag_version = HFP_VERSION_1_7;
const uint16_t bta_ag_version = HFP_VERSION_1_8;
/* AG control block */
#if BTA_DYNAMIC_MEMORY == FALSE
tBTA_AG_CB bta_ag_cb;

View File

@ -157,7 +157,7 @@ BOOLEAN bta_ag_add_record(UINT16 service_uuid, char *p_service_name, UINT8 scn,
/* add profile descriptor list */
if (service_uuid == UUID_SERVCLASS_AG_HANDSFREE) {
profile_uuid = UUID_SERVCLASS_HF_HANDSFREE;
version = HFP_VERSION_1_7;
version = HFP_VERSION_1_8;
} else {
profile_uuid = UUID_SERVCLASS_HEADSET;
version = HSP_VERSION_1_2;

View File

@ -49,6 +49,7 @@
#define HFP_VERSION_1_5 0x0105
#define HFP_VERSION_1_6 0x0106
#define HFP_VERSION_1_7 0x0107
#define HFP_VERSION_1_8 0x0108
#define HSP_VERSION_1_0 0x0100
#define HSP_VERSION_1_2 0x0102

View File

@ -114,7 +114,7 @@ BOOLEAN bta_hf_client_add_record(char *p_service_name, UINT8 scn,
/* add profile descriptor list */
profile_uuid = UUID_SERVCLASS_HF_HANDSFREE;
version = HFP_VERSION_1_7;
version = HFP_VERSION_1_8;
result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version);

View File

@ -30,6 +30,7 @@
#define HFP_VERSION_1_5 0x0105
#define HFP_VERSION_1_6 0x0106
#define HFP_VERSION_1_7 0x0107
#define HFP_VERSION_1_8 0x0108
/* RFCOMM MTU SIZE */
#define BTA_HF_CLIENT_MTU 256