summaryrefslogtreecommitdiffstats
path: root/stack/avrc/avrc_sdp.c
diff options
context:
space:
mode:
Diffstat (limited to 'stack/avrc/avrc_sdp.c')
-rw-r--r--stack/avrc/avrc_sdp.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/stack/avrc/avrc_sdp.c b/stack/avrc/avrc_sdp.c
index ad2024e..c9ad935 100644
--- a/stack/avrc/avrc_sdp.c
+++ b/stack/avrc/avrc_sdp.c
@@ -25,26 +25,9 @@ tAVRC_CB avrc_cb;
const tSDP_PROTOCOL_ELEM avrc_proto_list [] =
{
{UUID_PROTOCOL_L2CAP, 1, {AVCT_PSM, 0} },
-#if AVRC_ADV_CTRL_INCLUDED == TRUE
- {UUID_PROTOCOL_AVCTP, 1, {AVCT_REV_1_3, 0} }
-#else
-#if AVRC_METADATA_INCLUDED == TRUE
- {UUID_PROTOCOL_AVCTP, 1, {AVCT_REV_1_2, 0} }
-#else
{UUID_PROTOCOL_AVCTP, 1, {AVCT_REV_1_0, 0} }
-#endif
-#endif
};
-#if AVRC_ADV_CTRL_INCLUDED == TRUE
-const tSDP_PROTO_LIST_ELEM avrc_add_proto_list [] =
-{
- {AVRC_NUM_PROTO_ELEMS,
- {
- {UUID_PROTOCOL_L2CAP, 1, {AVCT_BR_PSM, 0} },
- {UUID_PROTOCOL_AVCTP, 1, {AVCT_REV_1_3, 0} }}}
-};
-#endif
/******************************************************************************
@@ -210,30 +193,13 @@ UINT16 AVRC_AddRecord(UINT16 service_uuid, char *p_service_name,
/* add service class id list */
class_list[0] = service_uuid;
-#if AVRC_ADV_CTRL_INCLUDED == TRUE
- if( service_uuid == UUID_SERVCLASS_AV_REMOTE_CONTROL )
- {
- class_list[1] = UUID_SERVCLASS_AV_REM_CTRL_CONTROL;
- count = 2;
- }
-#endif
result &= SDP_AddServiceClassIdList(sdp_handle, count, class_list);
/* add protocol descriptor list */
result &= SDP_AddProtocolList(sdp_handle, AVRC_NUM_PROTO_ELEMS, (tSDP_PROTOCOL_ELEM *)avrc_proto_list);
/* add profile descriptor list */
-#if AVRC_ADV_CTRL_INCLUDED == TRUE
- result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, AVRC_REV_1_4);
- /* additional protocol list to include browsing channel */
- result &= SDP_AddAdditionProtoLists( sdp_handle, 1, (tSDP_PROTO_LIST_ELEM *)avrc_add_proto_list);
-#else
-#if AVRC_METADATA_INCLUDED == TRUE
- result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, AVRC_REV_1_3);
-#else
result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, AVRC_REV_1_0);
-#endif
-#endif
/* add supported categories */
p = temp;