/hal_espressif-3.5.0/components/mdns/ |
D | mdns_console.c | 70 const char * hostname = mdns_query_a_args.hostname->sval[0]; in cmd_mdns_query_a() 128 const char * hostname = mdns_query_a_args.hostname->sval[0]; in cmd_mdns_query_aaaa() 194 const char * instance = mdns_query_srv_args.instance->sval[0]; in cmd_mdns_query_srv() 195 const char * service = mdns_query_srv_args.service->sval[0]; in cmd_mdns_query_srv() 196 const char * proto = mdns_query_srv_args.proto->sval[0]; in cmd_mdns_query_srv() 255 const char * instance = mdns_query_txt_args.instance->sval[0]; in cmd_mdns_query_txt() 256 const char * service = mdns_query_txt_args.service->sval[0]; in cmd_mdns_query_txt() 257 const char * proto = mdns_query_txt_args.proto->sval[0]; in cmd_mdns_query_txt() 317 const char * service = mdns_query_ptr_args.service->sval[0]; in cmd_mdns_query_ptr() 318 const char * proto = mdns_query_ptr_args.proto->sval[0]; in cmd_mdns_query_ptr() [all …]
|
/hal_espressif-3.5.0/examples/system/console/advanced/components/cmd_nvs/ |
D | cmd_nvs.c | 403 const char *key = set_args.key->sval[0]; in set_value() 404 const char *type = set_args.type->sval[0]; in set_value() 405 const char *values = set_args.value->sval[0]; in set_value() 425 const char *key = get_args.key->sval[0]; in get_value() 426 const char *type = get_args.type->sval[0]; in get_value() 446 const char *key = erase_args.key->sval[0]; in erase_value() 466 const char *name = erase_all_args.namespace->sval[0]; in erase_namespace() 485 const char *namespace = namespace_args.namespace->sval[0]; in set_namespace() 493 list_args.partition->sval[0] = ""; in list_entries() 494 list_args.namespace->sval[0] = ""; in list_entries() [all …]
|
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ |
D | ble_mesh_reg_cfg_client_cmd.c | 327 if (strcmp(configuration_client_model_operation.action_type->sval[0], "get") == 0) { in ble_mesh_configuration_client_model_operation() 329 } else if (strcmp(configuration_client_model_operation.action_type->sval[0], "set") == 0) { in ble_mesh_configuration_client_model_operation() 331 … if (strcmp(configuration_client_model_operation.set_state->sval[0], "appkey") == 0) { in ble_mesh_configuration_client_model_operation() 340 … } else if (strcmp(configuration_client_model_operation.set_state->sval[0], "appbind") == 0) { in ble_mesh_configuration_client_model_operation() 342 … } else if (strcmp(configuration_client_model_operation.set_state->sval[0], "ttl") == 0) { in ble_mesh_configuration_client_model_operation() 344 … } else if (strcmp(configuration_client_model_operation.set_state->sval[0], "proxy") == 0) { in ble_mesh_configuration_client_model_operation() 346 … } else if (strcmp(configuration_client_model_operation.set_state->sval[0], "subadd") == 0) { in ble_mesh_configuration_client_model_operation() 348 … } else if (strcmp(configuration_client_model_operation.set_state->sval[0], "subdel") == 0) { in ble_mesh_configuration_client_model_operation() 350 … } else if (strcmp(configuration_client_model_operation.set_state->sval[0], "relay") == 0) { in ble_mesh_configuration_client_model_operation() 352 … } else if (strcmp(configuration_client_model_operation.set_state->sval[0], "pubset") == 0) { in ble_mesh_configuration_client_model_operation() [all …]
|
D | ble_mesh_register_cmd.c | 476 if (strcmp(power_set.action_type->sval[0], "tx") == 0) { in ble_mesh_power_set() 478 } else if (strcmp(power_set.action_type->sval[0], "sense") == 0) { in ble_mesh_power_set() 531 get_value_string((char *)oob.static_val->sval[0], (char *)static_val); in ble_mesh_load_oob() 548 get_value_string((char *)oob.static_val->sval[0], (char *)static_val); in ble_mesh_load_oob() 581 err = get_value_string((char *)component.dev_uuid->sval[0], (char *)device_uuid); in ble_mesh_init() 585 str_2_mac((uint8_t *)component.dev_uuid->sval[0], device_uuid); in ble_mesh_init() 627 if (strcmp(heartbeat.action_type->sval[0], "recv") == 0){ in ble_mesh_provisioner_heartbeat() 629 }else if(strcmp(heartbeat.action_type->sval[0], "type") == 0){ in ble_mesh_provisioner_heartbeat() 631 }else if(strcmp(heartbeat.action_type->sval[0], "info")== 0){ in ble_mesh_provisioner_heartbeat() 751 if (strcmp(node_statistices.action_type->sval[0], "init") == 0) { in ble_mesh_node_statistics_regist() [all …]
|
D | ble_mesh_reg_test_perf_client_cmd.c | 103 if (strcmp(test_perf_client_model.action_type->sval[0], "init") == 0) { in ble_mesh_test_performance_client_model() 108 } else if (strcmp(test_perf_client_model.action_type->sval[0], "start") == 0) { in ble_mesh_test_performance_client_model() 149 if (strcmp(test_perf_client_model_statistics.action_type->sval[0], "init") == 0) { in ble_mesh_test_performance_client_model_performance() 155 } else if (strcmp(test_perf_client_model_statistics.action_type->sval[0], "get") == 0) { in ble_mesh_test_performance_client_model_performance() 157 } else if (strcmp(test_perf_client_model_statistics.action_type->sval[0], "destroy") == 0) { in ble_mesh_test_performance_client_model_performance() 160 } else if (strcmp(test_perf_client_model_statistics.action_type->sval[0], "percent") == 0) { in ble_mesh_test_performance_client_model_performance()
|
D | ble_mesh_register_server_cmd.c | 56 data = malloc(strlen(msg_publish.data->sval[0])); in ble_mesh_module_publish_message() 57 get_value_string((char *)msg_publish.data->sval[0], (char *) data); in ble_mesh_module_publish_message() 78 length = strlen(msg_publish.data->sval[0]); in ble_mesh_module_publish_message() 81 err = get_value_string((char *)msg_publish.data->sval[0], (char *) data); in ble_mesh_module_publish_message()
|
D | ble_mesh_reg_gen_onoff_client_cmd.c | 143 if (strcmp(gen_onoff_state.action_type->sval[0], "get") == 0) { in ble_mesh_generic_onoff_client_model() 146 else if (strcmp(gen_onoff_state.action_type->sval[0], "set") == 0) { in ble_mesh_generic_onoff_client_model() 148 } else if (strcmp(gen_onoff_state.action_type->sval[0], "reg") == 0) { in ble_mesh_generic_onoff_client_model()
|
/hal_espressif-3.5.0/examples/peripherals/mcpwm/mcpwm_brushed_dc_control/main/ |
D | cmd_mcpwm_motor.c | 82 if (!strcmp(*motor_ctrl_config_args.pid_flag->sval, "n") || in do_motor_ctrl_config_cmd() 83 !strcmp(*motor_ctrl_config_args.pid_flag->sval, "no")) { in do_motor_ctrl_config_cmd() 126 if (!strcmp(*motor_ctrl_expt_args.mode->sval, "fixed")) { in do_motor_ctrl_expt_cmd() 129 } else if (!strcmp(*motor_ctrl_expt_args.mode->sval, "tri")) { in do_motor_ctrl_expt_cmd() 132 } else if (!strcmp(*motor_ctrl_expt_args.mode->sval, "rect")) { in do_motor_ctrl_expt_cmd() 163 if (!strcmp(motor_ctrl_pid_args.type->sval[0], "loc")) { in do_motor_ctrl_pid_cmd() 166 } else if (!strcmp(motor_ctrl_pid_args.type->sval[0], "inc")) { in do_motor_ctrl_pid_cmd() 170 printf("Invalid pid type:%s\n", motor_ctrl_pid_args.type->sval[0]); in do_motor_ctrl_pid_cmd()
|
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/main/ |
D | coex_cmd.c | 56 env_value = env_param_cmd_args.value->sval[0]; in process_env_parameter_cmd() 58 …ret = coex_set_test_env(env_param_cmd_args.key->sval[0], env_value, strlen(env_param_cmd_args.valu… in process_env_parameter_cmd() 92 msg.case_id = atoi(tc_run_args.wifi_tc_idx->sval[0]); in process_run_tc_cmd() 99 msg.case_id = atoi(tc_run_args.bt_tc_idx->sval[0]); in process_run_tc_cmd()
|
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/ |
D | cmd_wifi.c | 188 ESP_LOGI(TAG, "sta connecting to '%s'", sta_args.ssid->sval[0]); in wifi_cmd_sta() 189 wifi_cmd_sta_join(sta_args.ssid->sval[0], sta_args.password->sval[0]); in wifi_cmd_sta() 215 wifi_cmd_sta_scan(scan_args.ssid->sval[0]); in wifi_cmd_scan() 264 wifi_cmd_ap_set(ap_args.ssid->sval[0], ap_args.password->sval[0]); in wifi_cmd_ap() 265 ESP_LOGI(TAG, "AP mode, %s %s", ap_args.ssid->sval[0], ap_args.password->sval[0]); in wifi_cmd_ap() 345 cfg.destination_ip4 = esp_ip4addr_aton(iperf_args.ip->sval[0]); in wifi_cmd_iperf()
|
/hal_espressif-3.5.0/examples/wifi/iperf/main/ |
D | cmd_wifi.c | 197 ESP_LOGI(TAG, "sta connecting to '%s'", sta_args.ssid->sval[0]); in wifi_cmd_sta() 198 wifi_cmd_sta_join(sta_args.ssid->sval[0], sta_args.password->sval[0]); in wifi_cmd_sta() 224 wifi_cmd_sta_scan(scan_args.ssid->sval[0]); in wifi_cmd_scan() 273 wifi_cmd_ap_set(ap_args.ssid->sval[0], ap_args.password->sval[0]); in wifi_cmd_ap() 274 ESP_LOGI(TAG, "AP mode, %s %s", ap_args.ssid->sval[0], ap_args.password->sval[0]); in wifi_cmd_ap() 354 cfg.destination_ip4 = esp_ip4addr_aton(iperf_args.ip->sval[0]); in wifi_cmd_iperf()
|
/hal_espressif-3.5.0/components/newlib/test/ |
D | test_newlib.c | 165 uint64_t sval; variable 166 int ret = sscanf(res, "%llu", &sval); 170 TEST_ASSERT_EQUAL(val, sval); 182 uint64_t sval; variable 183 int ret = sscanf(res, "%llu", &sval);
|
/hal_espressif-3.5.0/examples/wifi/ftm/main/ |
D | ftm_main.c | 252 ESP_LOGI(TAG_STA, "sta connecting to '%s'", sta_args.ssid->sval[0]); in wifi_cmd_sta() 253 wifi_cmd_sta_join(sta_args.ssid->sval[0], sta_args.password->sval[0]); in wifi_cmd_sta() 306 wifi_perform_scan(scan_args.ssid->sval[0], false); in wifi_cmd_scan() 344 if (true == wifi_cmd_ap_set(ap_args.ssid->sval[0], ap_args.password->sval[0])) in wifi_cmd_ap() 345 …TM Responder support, SSID - %s, Password - %s", ap_args.ssid->sval[0], ap_args.password->sval[0]); in wifi_cmd_ap() 441 ap_record = find_ftm_responder_ap(ftm_args.ssid->sval[0]); in wifi_cmd_ftm()
|
/hal_espressif-3.5.0/examples/network/simple_sniffer/main/ |
D | cmd_sniffer.c | 363 if (!strncmp(sniffer_args.interface->sval[0], "wlan", 4)) { in do_sniffer_cmd() 365 } else if (!strncmp(sniffer_args.interface->sval[0], "eth", 3) in do_sniffer_cmd() 366 && strlen(sniffer_args.interface->sval[0]) >= 4) { in do_sniffer_cmd() 368 const char *eth_num_str_start = sniffer_args.interface->sval[0] + 3; in do_sniffer_cmd() 376 ESP_LOGE(SNIFFER_TAG, "unsupported interface %s", sniffer_args.interface->sval[0]); in do_sniffer_cmd() 380 ESP_LOGE(SNIFFER_TAG, "unsupported interface %s", sniffer_args.interface->sval[0]); in do_sniffer_cmd() 411 snf_rt.filter += search_wifi_filter_hashtable(sniffer_args.filter->sval[i]); in do_sniffer_cmd()
|
D | simple_sniffer_example_main.c | 247 if (!strncmp(mount_args.device->sval[0], "sd", 2)) { in mount() 336 if (!strncmp(mount_args.device->sval[0], "sd", 2)) { in unmount()
|
D | cmd_pcap.c | 238 …, sizeof(pcap_cmd_rt.filename), "%s/%s.pcap", CONFIG_SNIFFER_MOUNT_POINT, pcap_args.file->sval[0]); in do_pcap_cmd()
|
/hal_espressif-3.5.0/examples/system/console/advanced/main/ |
D | cmd_wifi.c | 98 join_args.ssid->sval[0]); in connect() 105 bool connected = wifi_join(join_args.ssid->sval[0], in connect() 106 join_args.password->sval[0], in connect()
|
/hal_espressif-3.5.0/examples/system/console/basic/main/ |
D | cmd_wifi.c | 98 join_args.ssid->sval[0]); in connect() 105 bool connected = wifi_join(join_args.ssid->sval[0], in connect() 106 join_args.password->sval[0], in connect()
|
/hal_espressif-3.5.0/examples/protocols/icmp_echo/main/ |
D | echo_example_main.c | 115 if (inet_pton(AF_INET6, ping_args.host->sval[0], &sock_addr6.sin6_addr) == 1) { in do_ping_cmd() 117 ipaddr_aton(ping_args.host->sval[0], &target_addr); in do_ping_cmd() 123 if (getaddrinfo(ping_args.host->sval[0], NULL, &hint, &res) != 0) { in do_ping_cmd() 124 printf("ping: unknown host %s\n", ping_args.host->sval[0]); in do_ping_cmd()
|
/hal_espressif-3.5.0/components/console/argtable3/ |
D | argtable3.h | 120 const char **sval; /* Array of parsed argument values */ member 127 const char **sval; /* Array of parsed argument values */ member
|
D | argtable3.c | 2732 parent->sval[parent->count++] = argval; in arg_rex_scanfn() 2886 result->sval = (const char * *)(priv + 1); in arg_rexn() 2891 result->sval[i] = ""; in arg_rexn() 3638 parent->sval[parent->count++] = argval; in arg_str_scanfn() 3744 result->sval = (const char * *)(result + 1); in arg_strn() 3749 result->sval[i] = ""; in arg_strn()
|
/hal_espressif-3.5.0/examples/ethernet/iperf/main/ |
D | cmd_ethernet.c | 50 if (!strncmp(eth_control_args.control->sval[0], "info", 4)) { in eth_cmd_control() 111 cfg.destination_ip4 = esp_ip4addr_aton(iperf_args.ip->sval[0]); in eth_cmd_iperf()
|