/hal_espressif-3.6.0/components/wifi_provisioning/src/ |
D | wifi_scan.c | 120 WiFiScanResult **results = NULL; in cmd_scan_result_handler() local 139 results = (WiFiScanResult **) calloc(req->cmd_scan_result->count, in cmd_scan_result_handler() 141 if (!results) { in cmd_scan_result_handler() 146 resp_payload->entries = results; in cmd_scan_result_handler() 160 results[i] = (WiFiScanResult *) malloc(sizeof(WiFiScanResult)); in cmd_scan_result_handler() 161 if (!results[i]) { in cmd_scan_result_handler() 165 wi_fi_scan_result__init(results[i]); 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() 169 if (!results[i]->ssid.data) { in cmd_scan_result_handler() [all …]
|
/hal_espressif-3.6.0/components/mdns/test/ |
D | test_mdns.c | 90 mdns_result_t * results = NULL; variable 97 …, mdns_query_ptr(MDNS_SERVICE_NAME, MDNS_SERVICE_PROTO, 10, CONFIG_MDNS_MAX_SERVICES, &results) ); 98 mdns_query_results_free(results); 100 …EQUAL(ESP_OK, mdns_query_srv(MDNS_INSTANCE, MDNS_SERVICE_NAME, MDNS_SERVICE_PROTO, 10, &results) ); 101 mdns_query_results_free(results); 103 …EQUAL(ESP_OK, mdns_query_txt(MDNS_INSTANCE, MDNS_SERVICE_NAME, MDNS_SERVICE_PROTO, 10, &results) ); 104 mdns_query_results_free(results); 107 mdns_query_results_free(results); 110 mdns_query_results_free(results);
|
/hal_espressif-3.6.0/tools/esp_prov/prov/ |
D | wifi_scan.py | 93 results = [] 95 results += [{'ssid': entry.ssid.decode('latin-1').rstrip('\x00'), 100 print_verbose(security_ctx, 'ScanResult SSID : ' + str(results[-1]['ssid'])) 101 print_verbose(security_ctx, 'ScanResult BSSID : ' + str(results[-1]['bssid'])) 102 print_verbose(security_ctx, 'ScanResult Channel : ' + str(results[-1]['channel'])) 103 print_verbose(security_ctx, 'ScanResult RSSI : ' + str(results[-1]['rssi'])) 104 print_verbose(security_ctx, 'ScanResult AUTH : ' + str(results[-1]['auth'])) 105 return results
|
/hal_espressif-3.6.0/components/mdns/ |
D | mdns_console.c | 23 static void mdns_print_results(mdns_result_t * results) in mdns_print_results() argument 25 mdns_result_t * r = results; in mdns_print_results() 205 mdns_result_t * results = NULL; in cmd_mdns_query_srv() local 206 esp_err_t err = mdns_query_srv(instance, service, proto, timeout, &results); in cmd_mdns_query_srv() 211 if (!results) { in cmd_mdns_query_srv() 215 mdns_print_results(results); in cmd_mdns_query_srv() 216 mdns_query_results_free(results); in cmd_mdns_query_srv() 266 mdns_result_t * results = NULL; in cmd_mdns_query_txt() local 267 esp_err_t err = mdns_query_txt(instance, service, proto, timeout, &results); in cmd_mdns_query_txt() 272 if (!results) { in cmd_mdns_query_txt() [all …]
|
/hal_espressif-3.6.0/tools/test_apps/build_system/ldgen_test/ |
D | check_placements.py | 46 results = pattern.searchString(contents)[0] 50 if results.actual != expected: 51 …("check placement fail: '%s' was placed in '%s', not in '%s'" % (symbol, results.actual, expected)) 53 print("check placement pass: '%s' was successfully placed in '%s'" % (symbol, results.actual)) 54 return int(results.address, 16)
|
/hal_espressif-3.6.0/examples/peripherals/twai/twai_network/ |
D | example_test.py | 47 results = [[False], [False], [False]] 48 master_kwargs = {'dut': dut_master, 'result': results[0], 'expected': master_expect} 49 slave_kwargs = {'dut': dut_slave, 'result': results[1], 'expected': slave_expect} 50 …listen_only_kwargs = {'dut': dut_listen_only, 'result': results[2], 'expected': listen_only_expect} 68 for result in results:
|
/hal_espressif-3.6.0/docs/zh_CN/api-reference/protocols/ |
D | mdns.rst | 109 void mdns_print_results(mdns_result_t * results){ 110 mdns_result_t * r = results; 146 mdns_result_t * results = NULL; 147 esp_err_t err = mdns_query_ptr(service_name, proto, 3000, 20, &results); 152 if(!results){ 153 ESP_LOGW(TAG, "No results found!"); 157 mdns_print_results(results); 158 mdns_query_results_free(results);
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/btm/ |
D | btm_devctl.c | 1069 tBTM_SET_AFH_CHANNELS_RESULTS results; in btm_set_afh_channels_complete() local 1077 STREAM_TO_UINT8 (results.hci_status, p); in btm_set_afh_channels_complete() 1079 switch (results.hci_status){ in btm_set_afh_channels_complete() 1081 results.status = BTM_SUCCESS; in btm_set_afh_channels_complete() 1085 results.status = BTM_ILLEGAL_VALUE; in btm_set_afh_channels_complete() 1088 results.status = BTM_ERR_PROCESSING; in btm_set_afh_channels_complete() 1091 (*p_cb)(&results); in btm_set_afh_channels_complete() 1142 tBTM_BLE_SET_CHANNELS_RESULTS results; in btm_ble_set_channels_complete() local 1150 STREAM_TO_UINT8 (results.hci_status, p); in btm_ble_set_channels_complete() 1152 switch (results.hci_status){ in btm_ble_set_channels_complete() [all …]
|
D | btm_acl.c | 2148 tBTM_TX_POWER_RESULTS results; in btm_read_tx_power_complete() local 2158 STREAM_TO_UINT8 (results.hci_status, p); in btm_read_tx_power_complete() 2160 if (results.hci_status == HCI_SUCCESS) { in btm_read_tx_power_complete() 2161 results.status = BTM_SUCCESS; in btm_read_tx_power_complete() 2165 STREAM_TO_UINT8 (results.tx_power, p); in btm_read_tx_power_complete() 2170 memcpy (results.rem_bda, p_acl_cb->remote_addr, BD_ADDR_LEN); in btm_read_tx_power_complete() 2175 STREAM_TO_UINT8 (results.tx_power, p); in btm_read_tx_power_complete() 2176 memcpy(results.rem_bda, btm_cb.devcb.read_tx_pwr_addr, BD_ADDR_LEN); in btm_read_tx_power_complete() 2180 results.tx_power, results.hci_status); in btm_read_tx_power_complete() 2182 results.status = BTM_ERR_PROCESSING; in btm_read_tx_power_complete() [all …]
|
D | btm_inq.c | 1425 (!memcmp (p_ent->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN))) { in btm_clr_inq_db() 1513 … if ((p_ent->in_use) && (!memcmp (p_ent->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN))) { in btm_inq_db_find() 1543 memcpy (p_ent->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN); in btm_inq_db_new() 1558 memcpy (p_old->inq_info.results.remote_bd_addr, p_bda, BD_ADDR_LEN); in btm_inq_db_new() 1862 (p_i && (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0) in btm_process_inq_results() 1880 p_i && (i_rssi > p_i->inq_info.results.rssi || p_i->inq_info.results.rssi == 0 in btm_process_inq_results() 1883 || (p_i->inq_info.results.device_type & BT_DEVICE_TYPE_BREDR) != 0 in btm_process_inq_results() 1886 p_cur = &p_i->inq_info.results; in btm_process_inq_results() 1894 p_cur = &p_i->inq_info.results; in btm_process_inq_results() 1915 && (p_i->inq_info.results.device_type == BT_DEVICE_TYPE_BREDR) in btm_process_inq_results() [all …]
|
/hal_espressif-3.6.0/examples/protocols/mdns/main/ |
D | mdns_example_main.c | 91 static void mdns_print_results(mdns_result_t *results) in mdns_print_results() argument 93 mdns_result_t *r = results; in mdns_print_results() 129 mdns_result_t * results = NULL; in query_mdns_service() local 130 esp_err_t err = mdns_query_ptr(service_name, proto, 3000, 20, &results); in query_mdns_service() 135 if(!results){ in query_mdns_service() 140 mdns_print_results(results); in query_mdns_service() 141 mdns_query_results_free(results); in query_mdns_service()
|
/hal_espressif-3.6.0/tools/ci/python_packages/idf_iperf_test_util/ |
D | TestReport.py | 33 self.results = throughput_results 123 result = self.results[config][throughput_type] 164 self.results = throughput_results 165 self.throughput_types = list(self.results.keys()) 187 result = self.results[_type] 242 data += self._generate_report_for_one_type(self.results[_type])
|
/hal_espressif-3.6.0/components/esp_hw_support/test/ |
D | test_hmac.c | 192 static const hmac_result results[] = { variable 963 for (int i = 0; i < sizeof(results)/sizeof(hmac_result); i++) { 964 TEST_ESP_OK(esp_hmac_calculate(HMAC_KEY4, message, results[i].msglen, hmac)); 965 TEST_ASSERT_EQUAL_HEX8_ARRAY(results[i].result, hmac, sizeof(hmac)); 978 static const hmac_result results[] = { variable 987 for (int i = 0; i < sizeof(results)/sizeof(hmac_result); i++) { 988 TEST_ESP_OK(esp_hmac_calculate(HMAC_KEY4, message, results[i].msglen, hmac)); 989 TEST_ASSERT_EQUAL_HEX8_ARRAY(results[i].result, hmac, sizeof(hmac));
|
/hal_espressif-3.6.0/docs/en/api-reference/protocols/ |
D | mdns.rst | 109 void mdns_print_results(mdns_result_t * results){ 110 mdns_result_t * r = results; 146 mdns_result_t * results = NULL; 147 esp_err_t err = mdns_query_ptr(service_name, proto, 3000, 20, &results); 152 if(!results){ 153 ESP_LOGW(TAG, "No results found!"); 157 mdns_print_results(results); 158 mdns_query_results_free(results);
|
/hal_espressif-3.6.0/tools/ldgen/ |
D | entity.py | 133 results = None 136 results = parser.parseString(first_line, parseAll=True) 140 archive = os.path.basename(results.archive_path) 160 results = None 163 results = parser.parseString(info.content, parseAll=True) 167 return results
|
/hal_espressif-3.6.0/examples/bluetooth/esp_hid_host/main/ |
D | esp_hid_host_main.c | 83 esp_hid_scan_result_t *results = NULL; in hid_demo_task() local 86 esp_hid_scan(SCAN_DURATION_SECONDS, &results_len, &results); in hid_demo_task() 89 esp_hid_scan_result_t *r = results; in hid_demo_task() 121 esp_hid_scan_results_free(results); in hid_demo_task()
|
D | esp_hid_gap.c | 118 void esp_hid_scan_results_free(esp_hid_scan_result_t *results) in esp_hid_scan_results_free() argument 121 while (results) { in esp_hid_scan_results_free() 122 r = results; in esp_hid_scan_results_free() 123 results = results->next; in esp_hid_scan_results_free() 132 static esp_hid_scan_result_t *find_scan_result(esp_bd_addr_t bda, esp_hid_scan_result_t *results) in find_scan_result() argument 134 esp_hid_scan_result_t *r = results; in find_scan_result() 792 esp_err_t esp_hid_scan(uint32_t seconds, size_t *num_results, esp_hid_scan_result_t **results) in esp_hid_scan() argument 816 *results = bt_scan_results; in esp_hid_scan() 823 *results = ble_scan_results; in esp_hid_scan()
|
D | esp_hid_gap.h | 74 esp_err_t esp_hid_scan(uint32_t seconds, size_t *num_results, esp_hid_scan_result_t **results); 75 void esp_hid_scan_results_free(esp_hid_scan_result_t *results);
|
/hal_espressif-3.6.0/components/mdns/include/ |
D | mdns.h | 537 …ns_query_async_get_results(mdns_search_once_t* search, uint32_t timeout, mdns_result_t ** results); 576 …const char * proto, uint16_t type, uint32_t timeout, size_t max_results, mdns_result_t ** results); 583 void mdns_query_results_free(mdns_result_t * results); 600 … service_type, const char * proto, uint32_t timeout, size_t max_results, mdns_result_t ** results);
|
/hal_espressif-3.6.0/examples/bluetooth/esp_hid_device/main/ |
D | esp_hid_gap.c | 115 void esp_hid_scan_results_free(esp_hid_scan_result_t *results) in esp_hid_scan_results_free() argument 118 while (results) { in esp_hid_scan_results_free() 119 r = results; in esp_hid_scan_results_free() 120 results = results->next; in esp_hid_scan_results_free() 129 static esp_hid_scan_result_t *find_scan_result(esp_bd_addr_t bda, esp_hid_scan_result_t *results) in find_scan_result() argument 131 esp_hid_scan_result_t *r = results; in find_scan_result() 789 esp_err_t esp_hid_scan(uint32_t seconds, size_t *num_results, esp_hid_scan_result_t **results) in esp_hid_scan() argument 813 *results = bt_scan_results; in esp_hid_scan() 820 *results = ble_scan_results; in esp_hid_scan()
|
D | esp_hid_gap.h | 74 esp_err_t esp_hid_scan(uint32_t seconds, size_t *num_results, esp_hid_scan_result_t **results); 75 void esp_hid_scan_results_free(esp_hid_scan_result_t *results);
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/ble/ble_compatibility_test/ |
D | ble_compatibility_test_case.md | 25 …* Your phone performance may affect the results of these tests. If such a test fails, it does not … 38 The test is passed, if you get the following results: 60 The test is passed, if you get the following results: 75 The test is passed, if you get the following results: 103 The test is passed, if you get the following results: 126 The test is passed, if you get the following results: 144 The test is passed, if you get the following results: 159 The test is passed, if you get the following results:
|
/hal_espressif-3.6.0/tools/ci/python_packages/ttfw_idf/ |
D | __init__.py | 242 results = TestResults(stdout, test_format) 246 group_name = results.tests()[0].group() 247 ComponentUTResult.results_list[group_name].append(results.to_junit()) 251 if results.num_failed(): 254 for test_case in results.test_iter():
|
/hal_espressif-3.6.0/examples/protocols/esp_local_ctrl/scripts/ |
D | proto_lc.py | 72 results = [] 75 results += [{ 81 return results
|
/hal_espressif-3.6.0/examples/protocols/modbus/tcp/mb_tcp_master/main/ |
D | tcp_master.c | 334 static int master_create_slave_list(mdns_result_t* results, char** addr_table, in master_create_slave_list() argument 337 if (!results) { in master_create_slave_list() 360 esp_err_t err = master_resolve_slave(slave_addr, results, &slave_ip, addr_type); in master_create_slave_list() 400 mdns_result_t* results = NULL; in master_query_slave_service() local 403 esp_err_t err = mdns_query_ptr(service_name, proto, 3000, 20, &results); in master_query_slave_service() 408 if(!results){ in master_query_slave_service() 413 count = master_create_slave_list(results, slave_ip_address_table, ip_table_sz, addr_type); in master_query_slave_service() 415 mdns_query_results_free(results); in master_query_slave_service()
|