/hal_espressif-3.5.0/components/bt/host/bluedroid/btc/profile/std/gap/ |
D | btc_gap_bt.c | 168 … if (p_src_data->p_data->disc_res.raw_data_size && p_src_data->p_data->disc_res.p_raw_data) { in search_devices_copy_cb() 169 …p_dest_data->p_data->disc_res.p_raw_data = (UINT8 *)(p_dest_data->p_data) + sizeof(tBTA_DM_SEARCH); in search_devices_copy_cb() 170 memcpy(p_dest_data->p_data->disc_res.p_raw_data, in search_devices_copy_cb() 171 p_src_data->p_data->disc_res.p_raw_data, in search_devices_copy_cb() 172 p_src_data->p_data->disc_res.raw_data_size); in search_devices_copy_cb() 203 … if (p_src_data->p_data->disc_res.p_raw_data && p_src_data->p_data->disc_res.raw_data_size > 0) { in search_service_record_copy_cb() 204 …p_dest_data->p_data->disc_res.p_raw_data = (UINT8 *)(p_dest_data->p_data) + sizeof(tBTA_DM_SEARCH); in search_service_record_copy_cb() 205 memcpy(p_dest_data->p_data->disc_res.p_raw_data, in search_service_record_copy_cb() 206 p_src_data->p_data->disc_res.p_raw_data, in search_service_record_copy_cb() 207 p_src_data->p_data->disc_res.raw_data_size); in search_service_record_copy_cb() [all …]
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/stack/hid/ |
D | hidh_conn.c | 577 UINT16 disc_res = HCI_SUCCESS; in hidh_l2cif_disconnect_ind() local 609 disc_res = btm_get_acl_disc_reason_code(); in hidh_l2cif_disconnect_ind() 613 if ( (disc_res == HCI_ERR_CONNECTION_TOUT || disc_res == HCI_ERR_UNSPECIFIED) && in hidh_l2cif_disconnect_ind() 619 … hh_cb.callback( dhandle, hh_cb.devices[dhandle].addr, HID_HDEV_EVT_CLOSE, disc_res, NULL); in hidh_l2cif_disconnect_ind() 627 if ((disc_res == HCI_ERR_AUTH_FAILURE) || in hidh_l2cif_disconnect_ind() 628 (disc_res == HCI_ERR_KEY_MISSING) || in hidh_l2cif_disconnect_ind() 629 (disc_res == HCI_ERR_HOST_REJECT_SECURITY) || in hidh_l2cif_disconnect_ind() 630 (disc_res == HCI_ERR_PAIRING_NOT_ALLOWED) || in hidh_l2cif_disconnect_ind() 631 (disc_res == HCI_ERR_UNIT_KEY_USED) || in hidh_l2cif_disconnect_ind() 632 (disc_res == HCI_ERR_PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED) || in hidh_l2cif_disconnect_ind() [all …]
|
/hal_espressif-3.5.0/examples/bluetooth/bluedroid/classic_bt/hfp_hf/main/ |
D | main.c | 72 for (int i = 0; i < param->disc_res.num_prop; i++){ in esp_bt_gap_cb() 73 if (param->disc_res.prop[i].type == ESP_BT_GAP_DEV_PROP_EIR in esp_bt_gap_cb() 74 && get_name_from_eir(param->disc_res.prop[i].val, peer_bdname, &peer_bdname_len)){ in esp_bt_gap_cb() 76 memcpy(peer_addr, param->disc_res.bda, ESP_BD_ADDR_LEN); in esp_bt_gap_cb()
|
/hal_espressif-3.5.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/ |
D | main.c | 210 esp_log_buffer_hex(SPP_TAG, param->disc_res.bda, ESP_BD_ADDR_LEN); in esp_bt_gap_cb() 212 for (int i = 0; i < param->disc_res.num_prop; i++){ in esp_bt_gap_cb() 213 if (param->disc_res.prop[i].type == ESP_BT_GAP_DEV_PROP_EIR in esp_bt_gap_cb() 214 && get_name_from_eir(param->disc_res.prop[i].val, peer_bdname, &peer_bdname_len)){ in esp_bt_gap_cb() 218 memcpy(peer_bd_addr, param->disc_res.bda, ESP_BD_ADDR_LEN); in esp_bt_gap_cb()
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/bta/dm/ |
D | bta_dm_act.c | 1804 if ( p_data->rem_name.result.disc_res.bd_name[0] && bta_dm_search_cb.p_btm_inq_info) { in bta_dm_rmt_name() 1828 p_btm_inq_info = BTM_InqDbRead (p_data->rem_name.result.disc_res.bd_addr); in bta_dm_disc_rmt_name() 1830 if ( p_data->rem_name.result.disc_res.bd_name[0] ) { in bta_dm_disc_rmt_name() 1835 bta_dm_discover_device(p_data->rem_name.result.disc_res.bd_addr); in bta_dm_disc_rmt_name() 1982 p_msg->disc_result.result.disc_res.result = BTA_SUCCESS; in bta_dm_sdp_result() 1983 p_msg->disc_result.result.disc_res.p_raw_data = NULL; in bta_dm_sdp_result() 1984 p_msg->disc_result.result.disc_res.raw_data_size = 0; in bta_dm_sdp_result() 1985 p_msg->disc_result.result.disc_res.num_uuids = num_uuids; in bta_dm_sdp_result() 1986 p_msg->disc_result.result.disc_res.p_uuid_list = NULL; in bta_dm_sdp_result() 1988 … p_msg->disc_result.result.disc_res.p_uuid_list = (UINT8 *)osi_malloc(num_uuids * MAX_UUID_SIZE); in bta_dm_sdp_result() [all …]
|
/hal_espressif-3.5.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/ |
D | main.c | 252 esp_log_buffer_hex(SPP_TAG, param->disc_res.bda, ESP_BD_ADDR_LEN); in esp_bt_gap_cb() 254 for (int i = 0; i < param->disc_res.num_prop; i++){ in esp_bt_gap_cb() 255 if (param->disc_res.prop[i].type == ESP_BT_GAP_DEV_PROP_EIR in esp_bt_gap_cb() 256 && get_name_from_eir(param->disc_res.prop[i].val, peer_bdname, &peer_bdname_len)){ in esp_bt_gap_cb() 260 memcpy(peer_bd_addr, param->disc_res.bda, ESP_BD_ADDR_LEN); in esp_bt_gap_cb()
|
/hal_espressif-3.5.0/examples/bluetooth/bluedroid/classic_bt/bt_discovery/main/ |
D | main.c | 131 ESP_LOGI(GAP_TAG, "Device found: %s", bda2str(param->disc_res.bda, bda_str, 18)); in update_device_info() 132 for (int i = 0; i < param->disc_res.num_prop; i++) { in update_device_info() 133 p = param->disc_res.prop + i; in update_device_info() 170 memcpy(p_dev->bda, param->disc_res.bda, ESP_BD_ADDR_LEN); in update_device_info()
|
/hal_espressif-3.5.0/examples/bluetooth/esp_hid_device/main/ |
D | esp_hid_gap.c | 249 static void handle_bt_device_result(struct disc_res_param *disc_res) in handle_bt_device_result() argument 251 GAP_DBG_PRINTF("BT : " ESP_BD_ADDR_STR, ESP_BD_ADDR_HEX(disc_res->bda)); in handle_bt_device_result() 262 for (int i = 0; i < disc_res->num_prop; i++) { in handle_bt_device_result() 263 esp_bt_gap_dev_prop_t *prop = &disc_res->prop[i]; in handle_bt_device_result() 333 …if (cod->major == ESP_BT_COD_MAJOR_DEV_PERIPHERAL || (find_scan_result(disc_res->bda, bt_scan_resu… in handle_bt_device_result() 334 add_bt_scan_result(disc_res->bda, cod, &uuid, name, name_len, rssi); in handle_bt_device_result() 403 handle_bt_device_result(¶m->disc_res); in bt_gap_event_handler()
|
/hal_espressif-3.5.0/examples/bluetooth/esp_hid_host/main/ |
D | esp_hid_gap.c | 252 static void handle_bt_device_result(struct disc_res_param *disc_res) in handle_bt_device_result() argument 254 GAP_DBG_PRINTF("BT : " ESP_BD_ADDR_STR, ESP_BD_ADDR_HEX(disc_res->bda)); in handle_bt_device_result() 265 for (int i = 0; i < disc_res->num_prop; i++) { in handle_bt_device_result() 266 esp_bt_gap_dev_prop_t *prop = &disc_res->prop[i]; in handle_bt_device_result() 336 …if (cod->major == ESP_BT_COD_MAJOR_DEV_PERIPHERAL || (find_scan_result(disc_res->bda, bt_scan_resu… in handle_bt_device_result() 337 add_bt_scan_result(disc_res->bda, cod, &uuid, name, name_len, rssi); in handle_bt_device_result() 406 handle_bt_device_result(¶m->disc_res); in bt_gap_event_handler()
|
/hal_espressif-3.5.0/examples/bluetooth/bluedroid/classic_bt/a2dp_source/main/ |
D | main.c | 173 ESP_LOGI(BT_AV_TAG, "Scanned device: %s", bda2str(param->disc_res.bda, bda_str, 18)); in filter_inquiry_scan_result() 174 for (int i = 0; i < param->disc_res.num_prop; i++) { in filter_inquiry_scan_result() 175 p = param->disc_res.prop + i; in filter_inquiry_scan_result() 206 memcpy(s_peer_bda, param->disc_res.bda, ESP_BD_ADDR_LEN); in filter_inquiry_scan_result()
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/api/include/api/ |
D | esp_gap_bt_api.h | 248 } disc_res; /*!< discovery result parameter struct */ member
|
/hal_espressif-3.5.0/examples/bluetooth/bluedroid/classic_bt/bt_discovery/ |
D | README.md | 192 for (int i = 0; i < param->disc_res.num_prop; i++) { 193 p = param->disc_res.prop + i;
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_av_api.h | 287 tBTA_AV_CO_DISC_RES disc_res; member
|
D | bta_api.h | 1138 tBTA_DM_DISC_RES disc_res; /* Discovery result for a peer device. */ member
|
/hal_espressif-3.5.0/components/bt/host/bluedroid/bta/av/ |
D | bta_av_aact.c | 1291 p_scb->p_cos->disc_res(p_scb->hndl, num, num, 0, p_scb->peer_addr, in bta_av_setconfig_rsp() 1600 p_scb->p_cos->disc_res(p_scb->hndl, p_scb->num_seps, num_snks, num_srcs, p_scb->peer_addr, in bta_av_disc_results() 1647 p_scb->p_cos->disc_res(p_scb->hndl, p_scb->num_seps, num_snks, 0, p_scb->peer_addr, in bta_av_disc_res_as_acp()
|