From 3f72e484aa3f541c3881f20ac09353dd28727a43 Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Mon, 18 Apr 2022 09:55:02 +0900 Subject: [PATCH] audio/avrcp: Add PTS certification related logic IOPT/SR/SDSS/BV-02-I Change-Id: I8d209bd6f2e541870d8e6446522dceb533dfdb0d --- profiles/audio/avrcp.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/profiles/audio/avrcp.c b/profiles/audio/avrcp.c index 6d0e90c..c199ab0 100644 --- a/profiles/audio/avrcp.c +++ b/profiles/audio/avrcp.c @@ -54,6 +54,7 @@ #include "media.h" #include "player.h" #include "transport.h" +#include "../../profile.h" /* Company IDs for vendor dependent commands */ #define IEEEID_BTSIG 0x001958 @@ -5417,6 +5418,15 @@ static struct btd_profile avrcp_controller_profile = { static int avrcp_init(void) { + /* IOPT/SR/SDSS/BV-02-I + Robot product don't use AVRCP profiles in the user space + So exclude SDP for AVRCP TG / CT + */ + if (TIZEN_FEATURE_ROBOT_REFERENCE) { + DBG("skip avrcp_init on robot"); + return 0; + } + btd_profile_register(&avrcp_controller_profile); btd_profile_register(&avrcp_target_profile); -- 2.7.4