Searched refs:proto_list (Results 1 – 2 of 2) sorted by relevance
178 tSDP_PROTOCOL_ELEM proto_list [A2D_NUM_PROTO_ELEMS]; in A2D_AddRecord() local189 memset((void*) proto_list, 0 , A2D_NUM_PROTO_ELEMS*sizeof(tSDP_PROTOCOL_ELEM)); in A2D_AddRecord()192 proto_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in A2D_AddRecord()193 proto_list[0].num_params = 1; in A2D_AddRecord()194 proto_list[0].params[0] = AVDT_PSM; in A2D_AddRecord()195 proto_list[1].protocol_uuid = UUID_PROTOCOL_AVDTP; in A2D_AddRecord()196 proto_list[1].num_params = 1; in A2D_AddRecord()197 proto_list[1].params[0] = a2d_cb.avdt_sdp_ver; in A2D_AddRecord()199 result &= SDP_AddProtocolList(sdp_handle, A2D_NUM_PROTO_ELEMS, proto_list); in A2D_AddRecord()
113 tSDP_PROTOCOL_ELEM proto_list[SDP_MAX_LIST_ELEMS]; in create_base_record() local116 memset(proto_list, 0, num_proto_elements * sizeof(tSDP_PROTOCOL_ELEM)); in create_base_record()118 proto_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in create_base_record()119 proto_list[0].num_params = 0; in create_base_record()120 proto_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in create_base_record()121 proto_list[1].num_params = 1; in create_base_record()122 proto_list[1].params[0] = channel; in create_base_record()125 proto_list[2].protocol_uuid = UUID_PROTOCOL_OBEX; in create_base_record()126 proto_list[2].num_params = 0; in create_base_record()130 if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list)) in create_base_record()