Home
last modified time | relevance | path

Searched refs:scan_result (Results 1 – 17 of 17) sorted by relevance

/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_client/main/
Dgattc_demo.c339 esp_ble_gap_cb_param_t *scan_result = (esp_ble_gap_cb_param_t *)param; in esp_gap_cb() local
340 switch (scan_result->scan_rst.search_evt) { in esp_gap_cb()
342 esp_log_buffer_hex(GATTC_TAG, scan_result->scan_rst.bda, 6); in esp_gap_cb()
343 …G, "searched Adv Data Len %d, Scan Response Len %d", scan_result->scan_rst.adv_data_len, scan_resu… in esp_gap_cb()
344 adv_name = esp_ble_resolve_adv_data(scan_result->scan_rst.ble_adv, in esp_gap_cb()
350 if (scan_result->scan_rst.adv_data_len > 0) { in esp_gap_cb()
352 …esp_log_buffer_hex(GATTC_TAG, &scan_result->scan_rst.ble_adv[0], scan_result->scan_rst.adv_data_le… in esp_gap_cb()
354 if (scan_result->scan_rst.scan_rsp_len > 0) { in esp_gap_cb()
356 …esp_log_buffer_hex(GATTC_TAG, &scan_result->scan_rst.ble_adv[scan_result->scan_rst.adv_data_len], in esp_gap_cb()
368 …le_gattc_open(gl_profile_tab[PROFILE_A_APP_ID].gattc_if, scan_result->scan_rst.bda, scan_result->s… in esp_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_ibeacon/main/
Dibeacon_demo.c97 esp_ble_gap_cb_param_t *scan_result = (esp_ble_gap_cb_param_t *)param; in esp_gap_cb() local
98 switch (scan_result->scan_rst.search_evt) { in esp_gap_cb()
101 … if (esp_ble_is_ibeacon_packet(scan_result->scan_rst.ble_adv, scan_result->scan_rst.adv_data_len)){ in esp_gap_cb()
102 … esp_ble_ibeacon_t *ibeacon_data = (esp_ble_ibeacon_t*)(scan_result->scan_rst.ble_adv); in esp_gap_cb()
104 … esp_log_buffer_hex("IBEACON_DEMO: Device address:", scan_result->scan_rst.bda, ESP_BD_ADDR_LEN ); in esp_gap_cb()
112 ESP_LOGI(DEMO_TAG, "RSSI of packet:%d dbm", scan_result->scan_rst.rssi); in esp_gap_cb()
/hal_espressif-3.6.0/components/wifi_provisioning/src/
Dwifi_scan.c119 wifi_prov_scan_result_t scan_result = {{0}, {0}, 0, 0, 0}; in cmd_scan_result_handler() local
153 err = h->scan_result(i + req->cmd_scan_result->start_index, in cmd_scan_result_handler()
154 &scan_result, &h->ctx); in cmd_scan_result_handler()
167 results[i]->ssid.len = strnlen(scan_result.ssid, 32); in cmd_scan_result_handler()
168 results[i]->ssid.data = (uint8_t *) strndup(scan_result.ssid, 32); in cmd_scan_result_handler()
174 results[i]->channel = scan_result.channel; in cmd_scan_result_handler()
175 results[i]->rssi = scan_result.rssi; in cmd_scan_result_handler()
176 results[i]->auth = scan_result.auth; in cmd_scan_result_handler()
178 results[i]->bssid.len = sizeof(scan_result.bssid); in cmd_scan_result_handler()
184 memcpy(results[i]->bssid.data, scan_result.bssid, results[i]->bssid.len); in cmd_scan_result_handler()
Dhandlers.c173 static esp_err_t scan_result(uint16_t result_index, in scan_result() function
201 ptr->scan_result = scan_result; in get_wifi_scan_handlers()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_eddystone/main/
Desp_eddystone_demo.c102 esp_ble_gap_cb_param_t* scan_result = (esp_ble_gap_cb_param_t*)param; in esp_gap_cb() local
103 switch(scan_result->scan_rst.search_evt) in esp_gap_cb()
108 …esp_err_t ret = esp_eddystone_decode(scan_result->scan_rst.ble_adv, scan_result->scan_rst.adv_data… in esp_gap_cb()
118 … esp_log_buffer_hex("EDDYSTONE_DEMO: Device address:", scan_result->scan_rst.bda, ESP_BD_ADDR_LEN); in esp_gap_cb()
119 ESP_LOGI(DEMO_TAG, "RSSI of packet:%d dbm", scan_result->scan_rst.rssi); in esp_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_throughput/throughput_client/main/
Dexample_ble_client_throughput.c390 esp_ble_gap_cb_param_t *scan_result = (esp_ble_gap_cb_param_t *)param; in esp_gap_cb() local
391 switch (scan_result->scan_rst.search_evt) { in esp_gap_cb()
393 esp_log_buffer_hex(GATTC_TAG, scan_result->scan_rst.bda, 6); in esp_gap_cb()
394 …G, "searched Adv Data Len %d, Scan Response Len %d", scan_result->scan_rst.adv_data_len, scan_resu… in esp_gap_cb()
395 adv_name = esp_ble_resolve_adv_data(scan_result->scan_rst.ble_adv, in esp_gap_cb()
406 … esp_ble_gap_set_prefer_conn_params(scan_result->scan_rst.bda, 32, 32, 0, 600); in esp_gap_cb()
408 …esp_ble_gattc_open(gl_profile_tab[PROFILE_A_APP_ID].gattc_if, scan_result->scan_rst.bda, BLE_ADDR_… in esp_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_security_client/main/
Dexample_ble_sec_gattc_demo.c438 esp_ble_gap_cb_param_t *scan_result = (esp_ble_gap_cb_param_t *)param; in esp_gap_cb() local
439 switch (scan_result->scan_rst.search_evt) { in esp_gap_cb()
441 esp_log_buffer_hex(GATTC_TAG, scan_result->scan_rst.bda, 6); in esp_gap_cb()
442 …G, "Searched Adv Data Len %d, Scan Response Len %d", scan_result->scan_rst.adv_data_len, scan_resu… in esp_gap_cb()
443 adv_name = esp_ble_resolve_adv_data(scan_result->scan_rst.ble_adv, in esp_gap_cb()
455 …le_gattc_open(gl_profile_tab[PROFILE_A_APP_ID].gattc_if, scan_result->scan_rst.bda, scan_result->s… in esp_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gattc_multi_connect/main/
Dgattc_multi_connect.c771 esp_ble_gap_cb_param_t *scan_result = (esp_ble_gap_cb_param_t *)param; in esp_gap_cb() local
772 switch (scan_result->scan_rst.search_evt) { in esp_gap_cb()
774 esp_log_buffer_hex(GATTC_TAG, scan_result->scan_rst.bda, 6); in esp_gap_cb()
775 …G, "Searched Adv Data Len %d, Scan Response Len %d", scan_result->scan_rst.adv_data_len, scan_resu… in esp_gap_cb()
776 adv_name = esp_ble_resolve_adv_data(scan_result->scan_rst.ble_adv, in esp_gap_cb()
797 …le_gattc_open(gl_profile_tab[PROFILE_A_APP_ID].gattc_if, scan_result->scan_rst.bda, scan_result->s… in esp_gap_cb()
807 …le_gattc_open(gl_profile_tab[PROFILE_B_APP_ID].gattc_if, scan_result->scan_rst.bda, scan_result->s… in esp_gap_cb()
817 …le_gattc_open(gl_profile_tab[PROFILE_C_APP_ID].gattc_if, scan_result->scan_rst.bda, scan_result->s… in esp_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_spp_client/main/
Dspp_client_demo.c247 esp_ble_gap_cb_param_t *scan_result = (esp_ble_gap_cb_param_t *)param; in esp_gap_cb() local
248 switch (scan_result->scan_rst.search_evt) { in esp_gap_cb()
250 esp_log_buffer_hex(GATTC_TAG, scan_result->scan_rst.bda, 6); in esp_gap_cb()
251 …G, "Searched Adv Data Len %d, Scan Response Len %d", scan_result->scan_rst.adv_data_len, scan_resu… in esp_gap_cb()
252 …adv_name = esp_ble_resolve_adv_data(scan_result->scan_rst.ble_adv, ESP_BLE_AD_TYPE_NAME_CMPL, &adv… in esp_gap_cb()
258 memcpy(&(scan_rst), scan_result, sizeof(esp_ble_gap_cb_param_t)); in esp_gap_cb()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gatt_client/tutorial/
DGatt_Client_Example_Walkthrough.md357 esp_ble_gap_cb_param_t *scan_result = (esp_ble_gap_cb_param_t *)param;
358 switch (scan_result->scan_rst.search_evt) {
360 esp_log_buffer_hex(GATTC_TAG, scan_result->scan_rst.bda, 6);
361 …G, "searched Adv Data Len %d, Scan Response Len %d", scan_result->scan_rst.adv_data_len, scan_resu…
362 …adv_name = esp_ble_resolve_adv_data(scan_result->scan_rst.ble_adv, ESP_BLE_AD_TYPE_NAME_CMPL, &adv…
373 …le_gattc_open(gl_profile_tab[PROFILE_A_APP_ID].gattc_if, scan_result->scan_rst.bda, scan_result->s…
389 esp_log_buffer_hex(GATTC_TAG, scan_result->scan_rst.bda, 6);
395 …G, "searched Adv Data Len %d, Scan Response Len %d", scan_result->scan_rst.adv_data_len, scan_resu…
398 …solve_adv_data()` function, which takes the advertised data stored in `scan_result->scan_rst.ble_a…
401 adv_name = esp_ble_resolve_adv_data(scan_result->scan_rst.ble_adv, ESP_BLE_AD_TYPE_NAME_CMPL, &adv_…
/hal_espressif-3.6.0/components/wifi_provisioning/include/wifi_provisioning/
Dwifi_scan.h143 esp_err_t (*scan_result)(uint16_t result_index, member
/hal_espressif-3.6.0/examples/bluetooth/esp_hid_device/main/
Desp_hid_gap.c477 esp_ble_gap_cb_param_t *scan_result = (esp_ble_gap_cb_param_t *)param; in ble_gap_event_handler() local
478 switch (scan_result->scan_rst.search_evt) { in ble_gap_event_handler()
480 handle_ble_device_result(&scan_result->scan_rst); in ble_gap_event_handler()
484 ESP_LOGV(TAG, "BLE GAP EVENT SCAN DONE: %d", scan_result->scan_rst.num_resps); in ble_gap_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/esp_hid_host/main/
Desp_hid_gap.c480 esp_ble_gap_cb_param_t *scan_result = (esp_ble_gap_cb_param_t *)param; in ble_gap_event_handler() local
481 switch (scan_result->scan_rst.search_evt) { in ble_gap_event_handler()
483 handle_ble_device_result(&scan_result->scan_rst); in ble_gap_event_handler()
487 ESP_LOGV(TAG, "BLE GAP EVENT SCAN DONE: %d", scan_result->scan_rst.num_resps); in ble_gap_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/coex/gattc_gatts_coex/main/
Dgattc_gatts_coex.c277 esp_ble_gap_cb_param_t *scan_result = (esp_ble_gap_cb_param_t *)param; in gap_event_handler() local
278 switch (scan_result->scan_rst.search_evt) { in gap_event_handler()
280 adv_name = esp_ble_resolve_adv_data(scan_result->scan_rst.ble_adv, in gap_event_handler()
288 …open(gattc_profile_tab[GATTC_PROFILE_C_APP_ID].gattc_if, scan_result->scan_rst.bda, scan_result->s… in gap_event_handler()
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/gattc_multi_connect/tutorial/
DGatt_Client_Multi_Connection_Example_Walkthrough.md66 …adv_name = esp_ble_resolve_adv_data(scan_result->scan_rst.ble_adv, ESP_BLE_AD_TYPE_NAME_CMPL, &adv…
81 … memcpy(gl_profile_tab[PROFILE_A_APP_ID].remote_bda, scan_result->scan_rst.bda, 6);
89 … memcpy(gl_profile_tab[PROFILE_B_APP_ID].remote_bda, scan_result->scan_rst.bda, 6);
96 … memcpy(gl_profile_tab[PROFILE_C_APP_ID].remote_bda, scan_result->scan_rst.bda, 6);
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_ibeacon/
DREADME.md48 switch (scan_result->scan_rst.search_evt) {
/hal_espressif-3.6.0/docs/en/api-reference/provisioning/
Dwifi_provisioning.rst238 * `scan_result` - For fetching scan results. This can be called even if scan is still on going