mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
bt: Update HFP version to v1.8
This commit is contained in:
parent
e5794669de
commit
71bd180095
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user