Searched refs:proto_elem_list (Results 1 – 3 of 3) sorted by relevance
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_client/ |
D | bta_hf_client_sdp.c | 89 tSDP_PROTOCOL_ELEM proto_elem_list[BTA_HF_CLIENT_NUM_PROTO_ELEMS]; in bta_hf_client_add_record() local 100 memset( proto_elem_list, 0 , BTA_HF_CLIENT_NUM_PROTO_ELEMS * sizeof(tSDP_PROTOCOL_ELEM)); in bta_hf_client_add_record() 103 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in bta_hf_client_add_record() 104 proto_elem_list[0].num_params = 0; in bta_hf_client_add_record() 105 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in bta_hf_client_add_record() 106 proto_elem_list[1].num_params = 1; in bta_hf_client_add_record() 107 proto_elem_list[1].params[0] = scn; in bta_hf_client_add_record() 108 result &= SDP_AddProtocolList(sdp_handle, BTA_HF_CLIENT_NUM_PROTO_ELEMS, proto_elem_list); in bta_hf_client_add_record()
|
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_ag/ |
D | bta_ag_sdp.c | 131 tSDP_PROTOCOL_ELEM proto_elem_list[BTA_AG_NUM_PROTO_ELEMS]; in bta_ag_add_record() local 143 memset( proto_elem_list, 0 , BTA_AG_NUM_PROTO_ELEMS*sizeof(tSDP_PROTOCOL_ELEM)); in bta_ag_add_record() 145 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in bta_ag_add_record() 146 proto_elem_list[0].num_params = 0; in bta_ag_add_record() 147 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_RFCOMM; in bta_ag_add_record() 148 proto_elem_list[1].num_params = 1; in bta_ag_add_record() 149 proto_elem_list[1].params[0] = scn; in bta_ag_add_record() 150 result &= SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list); in bta_ag_add_record()
|
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/ |
D | gatt_utils.c | 1587 tSDP_PROTOCOL_ELEM proto_elem_list[2]; in gatt_add_sdp_record() local 1626 proto_elem_list[0].protocol_uuid = UUID_PROTOCOL_L2CAP; in gatt_add_sdp_record() 1627 proto_elem_list[0].num_params = 1; in gatt_add_sdp_record() 1628 proto_elem_list[0].params[0] = BT_PSM_ATT; in gatt_add_sdp_record() 1629 proto_elem_list[1].protocol_uuid = UUID_PROTOCOL_ATT; in gatt_add_sdp_record() 1630 proto_elem_list[1].num_params = 2; in gatt_add_sdp_record() 1631 proto_elem_list[1].params[0] = start_hdl; in gatt_add_sdp_record() 1632 proto_elem_list[1].params[1] = end_hdl; in gatt_add_sdp_record() 1634 SDP_AddProtocolList(sdp_handle, 2, proto_elem_list); in gatt_add_sdp_record()
|