Home
last modified time | relevance | path

Searched refs:sdp_handle (Results 1 – 18 of 18) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/sdp/
Dbtc_sdp.c30 int sdp_handle; member
92 static void set_sdp_slot_info(int id, int sdp_handle, esp_bt_uuid_t *uuid) in set_sdp_slot_info() argument
96 BTC_TRACE_DEBUG("%s() id=%d to sdp_handle=0x%08x", __func__, id, sdp_handle); in set_sdp_slot_info()
117 slot->sdp_handle = sdp_handle; in set_sdp_slot_info()
129 static void get_sdp_slot_info(int id, int *sdp_handle, esp_bt_uuid_t *uuid) in get_sdp_slot_info() argument
152 if (sdp_handle) { in get_sdp_slot_info()
153 *sdp_handle = slot->sdp_handle; in get_sdp_slot_info()
172 if ((slot != NULL) && (slot->sdp_handle == handle)) { in get_sdp_slot_id_by_handle()
298 handle = slot->sdp_handle; in free_sdp_slot()
326 UINT32 sdp_handle = 0; in add_raw_sdp() local
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_client/
Dbta_hf_client_sdp.c87 tBTA_HF_CLIENT_FEAT features, UINT32 sdp_handle) in bta_hf_client_add_record() argument
108 result &= SDP_AddProtocolList(sdp_handle, BTA_HF_CLIENT_NUM_PROTO_ELEMS, proto_elem_list); in bta_hf_client_add_record()
113 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_HF_CLIENT_NUM_SVC_ELEMS, svc_class_id_list); in bta_hf_client_add_record()
119 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); in bta_hf_client_add_record()
123 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in bta_hf_client_add_record()
154 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 2, buf); in bta_hf_client_add_record()
157 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list); in bta_hf_client_add_record()
175 if (bta_hf_client_cb.sdp_handle == 0) { in bta_hf_client_create_record()
176 bta_hf_client_cb.sdp_handle = SDP_CreateRecord(); in bta_hf_client_create_record()
181 bta_hf_client_cb.sdp_handle); in bta_hf_client_create_record()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/avrc/
Davrc_sdp.c233 UINT16 categories, UINT32 sdp_handle, BOOLEAN browsing_en) in AVRC_AddRecord() argument
260 result &= SDP_AddServiceClassIdList(sdp_handle, count, class_list); in AVRC_AddRecord()
263 …result &= SDP_AddProtocolList(sdp_handle, AVRC_NUM_PROTO_ELEMS, (tSDP_PROTOCOL_ELEM *)avrc_proto_l… in AVRC_AddRecord()
277 … result &= SDP_AddAdditionProtoLists( sdp_handle, 1, (tSDP_PROTO_LIST_ELEM *)avrc_add_proto_list); in AVRC_AddRecord()
280 …result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, AVRC_REV_1_5); in AVRC_AddRecord()
283 …result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, AVRC_REV_1_3); in AVRC_AddRecord()
285 …result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_AV_REMOTE_CONTROL, AVRC_REV_1_0); in AVRC_AddRecord()
298 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, in AVRC_AddRecord()
303 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE, in AVRC_AddRecord()
309 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in AVRC_AddRecord()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_ag/
Dbta_ag_sdp.c129 tBTA_AG_FEAT features, UINT32 sdp_handle) in bta_ag_add_record() argument
150 result &= SDP_AddProtocolList(sdp_handle, BTA_AG_NUM_PROTO_ELEMS, proto_elem_list); in bta_ag_add_record()
155 result &= SDP_AddServiceClassIdList(sdp_handle, BTA_AG_NUM_SVC_ELEMS, svc_class_id_list); in bta_ag_add_record()
165 result &= SDP_AddProfileDescriptorList(sdp_handle, profile_uuid, version); in bta_ag_add_record()
169 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in bta_ag_add_record()
176 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_DATA_STORES_OR_NETWORK, in bta_ag_add_record()
188 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, 2, buf); in bta_ag_add_record()
191 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list); in bta_ag_add_record()
214 if (bta_ag_cb.profile[i].sdp_handle == 0) { in bta_ag_create_records()
215 bta_ag_cb.profile[i].sdp_handle = SDP_CreateRecord(); in bta_ag_create_records()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/a2dp/
Da2d_api.c182 UINT16 features, UINT32 sdp_handle) in A2D_AddRecord() argument
192 if ( (sdp_handle == 0) || in A2D_AddRecord()
198 result &= SDP_AddServiceClassIdList(sdp_handle, 1, &service_uuid); in A2D_AddRecord()
210 result &= SDP_AddProtocolList(sdp_handle, A2D_NUM_PROTO_ELEMS, proto_list); in A2D_AddRecord()
213 …result &= SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_ADV_AUDIO_DISTRIBUTION, a2d_cb.a… in A2D_AddRecord()
219 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SUPPORTED_FEATURES, UINT_DESC_TYPE, in A2D_AddRecord()
225 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_PROVIDER_NAME, TEXT_STR_DESC_TYPE, in A2D_AddRecord()
231 result &= SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, TEXT_STR_DESC_TYPE, in A2D_AddRecord()
237 result &= SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, browse_list); in A2D_AddRecord()
/hal_espressif-latest/components/bt/host/bluedroid/bta/hd/
Dbta_hd_act.c117 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_api_disable()
118 SDP_DeleteRecord(bta_hd_cb.sdp_handle); in bta_hd_api_disable()
168 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_register_act()
169 SDP_DeleteRecord(bta_hd_cb.sdp_handle); in bta_hd_register_act()
173 bta_hd_cb.sdp_handle = SDP_CreateRecord(); in bta_hd_register_act()
174 …HID_DevAddRecord(bta_hd_cb.sdp_handle, p_app_data->name, p_app_data->description, p_app_data->prov… in bta_hd_register_act()
214 if (bta_hd_cb.sdp_handle != 0) { in bta_hd_unregister_act()
215 SDP_DeleteRecord(bta_hd_cb.sdp_handle); in bta_hd_unregister_act()
218 bta_hd_cb.sdp_handle = 0; in bta_hd_unregister_act()
Dbta_hd_main.c334 return BTA_DmSetLocalDiRecord(&bqb_device_info, &bta_hd_cb.sdp_handle); in bta_hd_bqb_set_local_di_record()
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Da2d_api.h169 UINT16 features, UINT32 sdp_handle);
Davrc_api.h208 UINT16 categories, UINT32 sdp_handle, BOOLEAN browsing_en);
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_client/include/
Dbta_hf_client_int.h194 UINT32 sdp_handle; member
230 UINT32 sdp_handle);
/hal_espressif-latest/components/bt/host/bluedroid/btc/profile/std/spp/
Dbtc_spp.c60 uint32_t sdp_handle; member
141 (*slot)->sdp_handle = 0; in spp_malloc_slot()
379 slot_new->sdp_handle = slot->sdp_handle; in btc_spp_rfcomm_inter_cb()
497 slot->sdp_handle = p_data->create_rec.handle; in btc_spp_dm_inter_cb()
604 if (spp_local_param.spp_slots[i]->sdp_handle > 0) { in btc_spp_uninit()
605 BTA_JvDeleteRecord(spp_local_param.spp_slots[i]->sdp_handle); in btc_spp_uninit()
799 spp_local_param.spp_slots[i]->sdp_handle > 0) { in btc_spp_stop_srv()
822 spp_local_param.spp_slots[i]->sdp_handle > 0 && in btc_spp_stop_srv()
833 spp_local_param.spp_slots[i]->sdp_handle > 0 && in btc_spp_stop_srv()
835 if (spp_local_param.spp_slots[i]->sdp_handle > 0) { in btc_spp_stop_srv()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/hd/include/
Dbta_hd_int.h125 uint32_t sdp_handle; member
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_ag/include/
Dbta_ag_int.h258 UINT32 sdp_handle; member
396 …rd(UINT16 service_uuid, char *p_service_name, UINT8 scn, tBTA_AG_FEAT features, UINT32 sdp_handle);
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Dgatt_utils.c1588 UINT32 sdp_handle; in gatt_add_sdp_record() local
1595 if ((sdp_handle = SDP_CreateRecord()) == 0) { in gatt_add_sdp_record()
1601 SDP_AddServiceClassIdList(sdp_handle, 1, &p_uuid->uu.uuid16); in gatt_add_sdp_record()
1607 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST, DATA_ELE_SEQ_DESC_TYPE, in gatt_add_sdp_record()
1614 SDP_AddAttribute (sdp_handle, ATTR_ID_SERVICE_CLASS_ID_LIST, DATA_ELE_SEQ_DESC_TYPE, in gatt_add_sdp_record()
1620 SDP_DeleteRecord(sdp_handle); in gatt_add_sdp_record()
1634 SDP_AddProtocolList(sdp_handle, 2, proto_elem_list); in gatt_add_sdp_record()
1637 SDP_AddUuidSequence (sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list); in gatt_add_sdp_record()
1639 return (sdp_handle); in gatt_add_sdp_record()
Dgatt_api.c509 p_sreg->sdp_handle = gatt_add_sdp_record(p_uuid, p_sreg->s_hdl, p_sreg->e_hdl); in GATTS_StartService()
527 p_sreg->sdp_handle); in GATTS_StartService()
568 if (gatt_cb.sr_reg[ii].sdp_handle) { in GATTS_StopService()
569 SDP_DeleteRecord(gatt_cb.sr_reg[ii].sdp_handle); in GATTS_StopService()
/hal_espressif-latest/components/bt/host/bluedroid/bta/jv/
Dbta_jv_act.c1073 static bool create_base_record(const uint32_t sdp_handle, const char *name, const uint16_t channel,… in create_base_record() argument
1095 if (!SDP_AddProtocolList(sdp_handle, num_proto_elements, proto_list)){ in create_base_record()
1103 if (!SDP_AddProfileDescriptorList(sdp_handle, UUID_SERVCLASS_SERIAL_PORT, SPP_VERSION)){ in create_base_record()
1114 …if (!SDP_AddLanguageBaseAttrIDList(sdp_handle, LANG_ID_CODE_ENGLISH, LANG_ID_CHAR_ENCODE_UTF8, LAN… in create_base_record()
1126 if (!SDP_AddAttribute(sdp_handle, ATTR_ID_SERVICE_NAME, in create_base_record()
1139 if (!SDP_AddUuidSequence(sdp_handle, ATTR_ID_BROWSE_GROUP_LIST, 1, &list)){ in create_base_record()
1149 sdp_handle, channel, name, with_obex); in create_base_record()
/hal_espressif-latest/components/bt/host/bluedroid/bta/jv/include/
Dbta_jv_int.h418 UINT32 sdp_handle[BTA_JV_MAX_SDP_REC]; /* SDP records created */ member
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h242 UINT32 sdp_handle; /* primamry service SDP handle */ member