SDP_AddProtocolList() function
* Function SDP_AddProtocolList * Description This function is called to add a protocol descriptor list to * a record. This would be through the SDP database maintenance API. * If the protocol list already exists in the record, it is replaced * with the new list. * Returns TRUE if added OK, else FALSE
![]()
BOOLEAN SDP_AddProtocolList (UINT32 handle, UINT16 num_elem,![]()
extern BOOLEAN SDP_AddProtocolList (UINT32 handle, UINT16 num_elem,![]()
result &= SDP_AddProtocolList(sdp_handle, A2D_NUM_PROTO_ELEMS, proto_list);![]()
result &= SDP_AddProtocolList(sdp_handle, AVRC_NUM_PROTO_ELEMS, (tSDP_PROTOCOL_ELEM *)avrc_proto_list);![]()
result &= SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list);![]()
result &= SDP_AddProtocolList(sdp_handle, BTA_HF_CLIENT_NUM_PROTO_ELEMS, proto_elem_list);![]()
if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list)){![]()
status &= SDP_AddProtocolList(sdp_handle, 1, protoList);![]()
status &= SDP_AddProtocolList(sdp_handle, 2, protoList);![]()
status &= SDP_AddProtocolList(sdp_handle, 3, protoList);![]()
status &= SDP_AddProtocolList(sdp_handle, 3, protoList);![]()
status &= SDP_AddProtocolList(sdp_handle, 3, protoList);![]()
status &= SDP_AddProtocolList(sdp_handle, 3, protoList);![]()
status &= SDP_AddProtocolList(sdp_handle, 2, protoList);![]()
result &= SDP_AddProtocolList(handle, 2, proto_list);
SDP_AddProtocolList() is called by 12 functions and calls 6 functions:
![]()
SDP_AddProtocolList()
SDP_AddProtocolList() reads 3 variables:
![]()
SDP_AddProtocolList()