Home
last modified time | relevance | path

Searched refs:proto_elem_list (Results 1 – 4 of 4) sorted by relevance

/external/bluetooth/bluedroid/btif/src/
Dbtif_sock_sdp.c72 tSDP_PROTOCOL_ELEM proto_elem_list[BTM_NUM_PROTO_ELEMS]; in add_sdp_by_uuid() local
78 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in add_sdp_by_uuid()
79 proto_elem_list[0].num_params = 0; in add_sdp_by_uuid()
80 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in add_sdp_by_uuid()
81 proto_elem_list[1].num_params = 1; in add_sdp_by_uuid()
83 proto_elem_list[1].params[0] = channel; in add_sdp_by_uuid()
86 proto_elem_list)) in add_sdp_by_uuid()
312 tSDP_PROTOCOL_ELEM proto_elem_list[SPP_NUM_PROTO_ELEMS]; in add_spp_sdp() local
321 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in add_spp_sdp()
322 proto_elem_list[0].num_params = 0; in add_spp_sdp()
[all …]
/external/bluetooth/bluedroid/bta/hl/
Dbta_hl_sdp.c179 tSDP_PROTOCOL_ELEM proto_elem_list[BTA_HL_NUM_PROTO_ELEMS]; in bta_hl_sdp_update() local
219 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in bta_hl_sdp_update()
220 proto_elem_list[0].num_params = 1; in bta_hl_sdp_update()
221 proto_elem_list[0].params[0] = p_cb->ctrl_psm; in bta_hl_sdp_update()
222 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_MCAP_CTRL; in bta_hl_sdp_update()
223 proto_elem_list[1].num_params = 1; in bta_hl_sdp_update()
224 proto_elem_list[1].params[0] = version; in bta_hl_sdp_update()
225 result &= SDP_AddProtocolList(p_cb->sdp_handle, BTA_HL_NUM_PROTO_ELEMS, proto_elem_list); in bta_hl_sdp_update()
381 tSDP_PROTOCOL_ELEM proto_elem_list[BTA_HL_NUM_PROTO_ELEMS]; in bta_hl_sdp_register() local
430 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in bta_hl_sdp_register()
[all …]
/external/bluetooth/bluedroid/bta/ag/
Dbta_ag_sdp.c132 tSDP_PROTOCOL_ELEM proto_elem_list[BTA_AG_NUM_PROTO_ELEMS]; in bta_ag_add_record() local
144 memset( proto_elem_list, 0 , BTA_AG_NUM_PROTO_ELEMS*sizeof(tSDP_PROTOCOL_ELEM)); in bta_ag_add_record()
147 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in bta_ag_add_record()
148 proto_elem_list[0].num_params = 0; in bta_ag_add_record()
149 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in bta_ag_add_record()
150 proto_elem_list[1].num_params = 1; in bta_ag_add_record()
151 proto_elem_list[1].params[0] = scn; in bta_ag_add_record()
152 result &= SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list); in bta_ag_add_record()
/external/bluetooth/bluedroid/stack/gatt/
Dgatt_utils.c1390 tSDP_PROTOCOL_ELEM proto_elem_list[2]; in gatt_add_sdp_record() local
1421 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in gatt_add_sdp_record()
1422 proto_elem_list[0].num_params = 1; in gatt_add_sdp_record()
1423 proto_elem_list[0].params[0] = BT_PSM_ATT; in gatt_add_sdp_record()
1424 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_ATT; in gatt_add_sdp_record()
1425 proto_elem_list[1].num_params = 2; in gatt_add_sdp_record()
1426 proto_elem_list[1].params[0] = start_hdl; in gatt_add_sdp_record()
1427 proto_elem_list[1].params[1] = end_hdl; in gatt_add_sdp_record()
1429 SDP_AddProtocolList(sdp_handle, 2, proto_elem_list); in gatt_add_sdp_record()