From e5794669dea97fb56a00fdd4eea0713880cb339a Mon Sep 17 00:00:00 2001 From: xiongweichao Date: Wed, 12 Oct 2022 17:24:21 +0800 Subject: [PATCH] bt: Update A2DP version to v1.4 --- components/bt/host/bluedroid/bta/av/bta_av_main.c | 2 +- components/bt/host/bluedroid/stack/include/stack/a2d_api.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/components/bt/host/bluedroid/bta/av/bta_av_main.c b/components/bt/host/bluedroid/bta/av/bta_av_main.c index cb3cf360b63b..48b6a5f69427 100644 --- a/components/bt/host/bluedroid/bta/av/bta_av_main.c +++ b/components/bt/host/bluedroid/bta/av/bta_av_main.c @@ -653,7 +653,7 @@ static void bta_av_api_register(tBTA_AV_DATA *p_data) if (bta_av_cb.features & BTA_AV_FEAT_DELAY_RPT) { cs.cfg.psc_mask |= AVDT_PSC_DELAY_RPT; a2d_set_avdt_sdp_ver(AVDT_VERSION_SYNC); - a2d_set_a2dp_sdp_ver(A2D_VERSION_SYC); + a2d_set_a2dp_sdp_ver(A2D_VERSION_1_4); } /* keep the configuration in the stream control block */ diff --git a/components/bt/host/bluedroid/stack/include/stack/a2d_api.h b/components/bt/host/bluedroid/stack/include/stack/a2d_api.h index 4680996ee10c..980b4fe42108 100644 --- a/components/bt/host/bluedroid/stack/include/stack/a2d_api.h +++ b/components/bt/host/bluedroid/stack/include/stack/a2d_api.h @@ -30,7 +30,8 @@ ** constants *****************************************************************************/ #define A2D_VERSION 0x0102 -#define A2D_VERSION_SYC 0x0103 +#define A2D_VERSION_1_3 0x0103 +#define A2D_VERSION_1_4 0x0104 /* Profile supported features */ #define A2D_SUPF_PLAYER 0x0001