/hal_espressif-3.5.0/examples/bluetooth/nimble/throughput_app/blecent_throughput/main/ |
D | scli.c | 37 static int conn_param_handler(int argc, char *argv[]) in conn_param_handler() argument 39 ESP_LOGI("Conn param Arguments entered", "%d", argc); in conn_param_handler() 40 if (argc != 7) { in conn_param_handler() 57 static int conn_mtu_handler(int argc, char *argv[]) in conn_mtu_handler() argument 59 ESP_LOGI("MTU Arguments entered", "%d", argc); in conn_mtu_handler() 60 if (argc != 2) { in conn_mtu_handler() 70 static int throughput_demo_handler(int argc, char *argv[]) in throughput_demo_handler() argument 74 if (argc != 3) { in throughput_demo_handler() 98 static int yesno_handler(int argc, char *argv[]) in yesno_handler() argument 103 if (argc != 2) { in yesno_handler()
|
/hal_espressif-3.5.0/components/mdns/ |
D | mdns_console.c | 62 static int cmd_mdns_query_a(int argc, char** argv) in cmd_mdns_query_a() argument 64 int nerrors = arg_parse(argc, argv, (void**) &mdns_query_a_args); in cmd_mdns_query_a() 120 static int cmd_mdns_query_aaaa(int argc, char** argv) in cmd_mdns_query_aaaa() argument 122 int nerrors = arg_parse(argc, argv, (void**) &mdns_query_a_args); in cmd_mdns_query_aaaa() 186 static int cmd_mdns_query_srv(int argc, char** argv) in cmd_mdns_query_srv() argument 188 int nerrors = arg_parse(argc, argv, (void**) &mdns_query_srv_args); in cmd_mdns_query_srv() 247 static int cmd_mdns_query_txt(int argc, char** argv) in cmd_mdns_query_txt() argument 249 int nerrors = arg_parse(argc, argv, (void**) &mdns_query_txt_args); in cmd_mdns_query_txt() 309 static int cmd_mdns_query_ptr(int argc, char** argv) in cmd_mdns_query_ptr() argument 311 int nerrors = arg_parse(argc, argv, (void**) &mdns_query_ptr_args); in cmd_mdns_query_ptr() [all …]
|
/hal_espressif-3.5.0/components/console/ |
D | split_argv.c | 29 argv[argc++] = next_arg_start; \ 39 size_t argc = 0; in esp_console_split_argv() local 42 for (char *in_ptr = line; argc < argv_size - 1; ++in_ptr) { in esp_console_split_argv() 105 if (state != SS_SPACE && argc < argv_size - 1) { in esp_console_split_argv() 106 argv[argc++] = next_arg_start; in esp_console_split_argv() 109 argv[argc] = NULL; in esp_console_split_argv() 111 return argc; in esp_console_split_argv()
|
D | commands.c | 196 size_t argc = esp_console_split_argv(s_tmp_line_buf, argv, in esp_console_run() local 198 if (argc == 0) { in esp_console_run() 207 *cmd_ret = (*cmd->func)(argc, argv); in esp_console_run() 212 static int help_command(int argc, char **argv) in help_command() argument
|
/hal_espressif-3.5.0/examples/bluetooth/nimble/throughput_app/blecent_throughput/components/cmd_system/ |
D | cmd_system.c | 53 static int get_version(int argc, char **argv) in get_version() argument 84 static int restart(int argc, char **argv) in restart() argument 103 static int free_mem(int argc, char **argv) in free_mem() argument 121 static int heap_size(int argc, char **argv) in heap_size() argument 143 static int tasks_info(int argc, char **argv) in tasks_info() argument 185 static int deep_sleep(int argc, char **argv) in deep_sleep() argument 187 int nerrors = arg_parse(argc, argv, (void **) &deep_sleep_args); in deep_sleep() 252 static int light_sleep(int argc, char **argv) in light_sleep() argument 254 int nerrors = arg_parse(argc, argv, (void **) &light_sleep_args); in light_sleep()
|
/hal_espressif-3.5.0/examples/system/console/advanced/components/cmd_system/ |
D | cmd_system.c | 67 static int get_version(int argc, char **argv) in get_version() argument 98 static int restart(int argc, char **argv) in restart() argument 117 static int free_mem(int argc, char **argv) in free_mem() argument 135 static int heap_size(int argc, char **argv) in heap_size() argument 157 static int tasks_info(int argc, char **argv) in tasks_info() argument 201 static int deep_sleep(int argc, char **argv) in deep_sleep() argument 203 int nerrors = arg_parse(argc, argv, (void **) &deep_sleep_args); in deep_sleep() 284 static int light_sleep(int argc, char **argv) in light_sleep() argument 286 int nerrors = arg_parse(argc, argv, (void **) &light_sleep_args); in light_sleep()
|
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_console/main/ |
D | ble_mesh_console_system.c | 44 static int restart(int argc, char **argv) in restart() argument 63 static int free_mem(int argc, char **argv) in free_mem() argument 80 static int make(int argc, char **argv) in make() argument 134 for (int i = 1; i < argc; ++i) { in make() 152 if (argc == 1) { in make()
|
D | ble_mesh_register_cmd.c | 160 int ble_mesh_register_cb(int argc, char** argv) in ble_mesh_register_cb() argument 466 int ble_mesh_power_set(int argc, char **argv) in ble_mesh_power_set() argument 470 int nerrors = arg_parse(argc, argv, (void **) &power_set); in ble_mesh_power_set() 508 static int ble_mesh_load_oob(int argc, char **argv) in ble_mesh_load_oob() argument 514 int nerrors = arg_parse(argc, argv, (void **) &oob); in ble_mesh_load_oob() 561 int ble_mesh_init(int argc, char **argv) in ble_mesh_init() argument 567 int nerrors = arg_parse(argc, argv, (void **) &component); in ble_mesh_init() 605 int ble_mesh_provisioner_heartbeat(int argc, char** argv) in ble_mesh_provisioner_heartbeat() argument 615 int nerrors = arg_parse(argc, argv, (void **) &heartbeat); in ble_mesh_provisioner_heartbeat() 645 int ble_mesh_node_enable_bearer(int argc, char **argv) in ble_mesh_node_enable_bearer() argument [all …]
|
D | ble_mesh_reg_test_perf_client_cmd.c | 88 int ble_mesh_test_performance_client_model(int argc, char **argv) in ble_mesh_test_performance_client_model() argument 95 int nerrors = arg_parse(argc, argv, (void **) &test_perf_client_model); in ble_mesh_test_performance_client_model() 138 int ble_mesh_test_performance_client_model_performance(int argc, char **argv) in ble_mesh_test_performance_client_model_performance() argument 143 int nerrors = arg_parse(argc, argv, (void **) &test_perf_client_model_statistics); in ble_mesh_test_performance_client_model_performance()
|
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/main/ |
D | coex_cmd.c | 43 static int process_env_parameter_cmd(int argc, char **argv) in process_env_parameter_cmd() argument 45 int nerrors = arg_parse(argc, argv, (void **) &env_param_cmd_args); in process_env_parameter_cmd() 74 static int process_restart_cmd(int argc, char **argv) in process_restart_cmd() argument 82 static int process_run_tc_cmd(int argc, char **argv) in process_run_tc_cmd() argument 85 int nerrors = arg_parse(argc, argv, (void **) &tc_run_args); in process_run_tc_cmd() 108 static int process_get_mac_addr_cmd(int argc, char **argv) in process_get_mac_addr_cmd() argument
|
/hal_espressif-3.5.0/examples/bluetooth/esp_ble_mesh/ble_mesh_wifi_coexist/main/ |
D | cmd_wifi.c | 179 static int wifi_cmd_sta(int argc, char **argv) in wifi_cmd_sta() argument 181 int nerrors = arg_parse(argc, argv, (void **) &sta_args); in wifi_cmd_sta() 204 static int wifi_cmd_scan(int argc, char **argv) in wifi_cmd_scan() argument 206 int nerrors = arg_parse(argc, argv, (void **) &scan_args); in wifi_cmd_scan() 255 static int wifi_cmd_ap(int argc, char **argv) in wifi_cmd_ap() argument 257 int nerrors = arg_parse(argc, argv, (void **) &ap_args); in wifi_cmd_ap() 269 static int wifi_cmd_query(int argc, char **argv) in wifi_cmd_query() argument 316 static int wifi_cmd_iperf(int argc, char **argv) in wifi_cmd_iperf() argument 318 int nerrors = arg_parse(argc, argv, (void **) &iperf_args); in wifi_cmd_iperf() 411 static int restart(int argc, char **argv) in restart() argument [all …]
|
/hal_espressif-3.5.0/examples/system/console/advanced/components/cmd_nvs/ |
D | cmd_nvs.c | 395 static int set_value(int argc, char **argv) in set_value() argument 397 int nerrors = arg_parse(argc, argv, (void **) &set_args); in set_value() 417 static int get_value(int argc, char **argv) in get_value() argument 419 int nerrors = arg_parse(argc, argv, (void **) &get_args); in get_value() 438 static int erase_value(int argc, char **argv) in erase_value() argument 440 int nerrors = arg_parse(argc, argv, (void **) &erase_args); in erase_value() 458 static int erase_namespace(int argc, char **argv) in erase_namespace() argument 460 int nerrors = arg_parse(argc, argv, (void **) &erase_all_args); in erase_namespace() 477 static int set_namespace(int argc, char **argv) in set_namespace() argument 479 int nerrors = arg_parse(argc, argv, (void **) &namespace_args); in set_namespace() [all …]
|
/hal_espressif-3.5.0/examples/peripherals/i2c/i2c_tools/main/ |
D | cmd_i2ctools.c | 72 static int do_i2cconfig_cmd(int argc, char **argv) in do_i2cconfig_cmd() argument 74 int nerrors = arg_parse(argc, argv, (void **)&i2cconfig_args); in do_i2cconfig_cmd() 114 static int do_i2cdetect_cmd(int argc, char **argv) in do_i2cdetect_cmd() argument 165 static int do_i2cget_cmd(int argc, char **argv) in do_i2cget_cmd() argument 167 int nerrors = arg_parse(argc, argv, (void **)&i2cget_args); in do_i2cget_cmd() 247 static int do_i2cset_cmd(int argc, char **argv) in do_i2cset_cmd() argument 249 int nerrors = arg_parse(argc, argv, (void **)&i2cset_args); in do_i2cset_cmd() 312 static int do_i2cdump_cmd(int argc, char **argv) in do_i2cdump_cmd() argument 314 int nerrors = arg_parse(argc, argv, (void **)&i2cdump_args); in do_i2cdump_cmd()
|
/hal_espressif-3.5.0/examples/wifi/iperf/main/ |
D | cmd_wifi.c | 188 static int wifi_cmd_sta(int argc, char **argv) in wifi_cmd_sta() argument 190 int nerrors = arg_parse(argc, argv, (void **) &sta_args); in wifi_cmd_sta() 213 static int wifi_cmd_scan(int argc, char **argv) in wifi_cmd_scan() argument 215 int nerrors = arg_parse(argc, argv, (void **) &scan_args); in wifi_cmd_scan() 264 static int wifi_cmd_ap(int argc, char **argv) in wifi_cmd_ap() argument 266 int nerrors = arg_parse(argc, argv, (void **) &ap_args); in wifi_cmd_ap() 278 static int wifi_cmd_query(int argc, char **argv) in wifi_cmd_query() argument 325 static int wifi_cmd_iperf(int argc, char **argv) in wifi_cmd_iperf() argument 327 int nerrors = arg_parse(argc, argv, (void **) &iperf_args); in wifi_cmd_iperf()
|
/hal_espressif-3.5.0/examples/wifi/ftm/main/ |
D | ftm_main.c | 243 static int wifi_cmd_sta(int argc, char **argv) in wifi_cmd_sta() argument 245 int nerrors = arg_parse(argc, argv, (void **) &sta_args); in wifi_cmd_sta() 295 static int wifi_cmd_scan(int argc, char **argv) in wifi_cmd_scan() argument 297 int nerrors = arg_parse(argc, argv, (void **) &scan_args); in wifi_cmd_scan() 335 static int wifi_cmd_ap(int argc, char** argv) in wifi_cmd_ap() argument 337 int nerrors = arg_parse(argc, argv, (void**) &ap_args); in wifi_cmd_ap() 352 static int wifi_cmd_query(int argc, char **argv) in wifi_cmd_query() argument 412 static int wifi_cmd_ftm(int argc, char **argv) in wifi_cmd_ftm() argument 414 int nerrors = arg_parse(argc, argv, (void **) &ftm_args); in wifi_cmd_ftm()
|
/hal_espressif-3.5.0/examples/peripherals/mcpwm/mcpwm_brushed_dc_control/main/ |
D | cmd_mcpwm_motor.c | 19 #define MOTOR_CTRL_CMD_CHECK(ins) if(arg_parse(argc, argv, (void **)&ins)){ \ 77 static int do_motor_ctrl_config_cmd(int argc, char **argv) in do_motor_ctrl_config_cmd() argument 105 static int do_motor_ctrl_expt_cmd(int argc, char **argv) in do_motor_ctrl_expt_cmd() argument 144 static int do_motor_ctrl_pid_cmd(int argc, char **argv) in do_motor_ctrl_pid_cmd() argument 179 static int do_motor_ctrl_motor_cmd(int argc, char **argv) in do_motor_ctrl_motor_cmd() argument
|
/hal_espressif-3.5.0/components/unity/include/ |
D | unity_fixture_extras.h | 53 const int argc = sizeof(argv)/sizeof(argv[0]); \ 54 int rc = UnityMain(argc, argv, func_); \
|
/hal_espressif-3.5.0/components/console/test/ |
D | test_console.c | 16 static int do_hello_cmd(int argc, char **argv) in do_hello_cmd() argument 41 static int do_cmd_quit(int argc, char **argv) in do_cmd_quit() argument
|
/hal_espressif-3.5.0/docs/zh_CN/api-reference/system/ |
D | console.rst | 105 …onsole_split_argv` 函数来将命令行字符串拆分为参数列表。该函数会返回参数的数量(``argc``)和一个指针数组,该指针数组可以作为 ``argv`` 参数传递给任何接受 ``a… 145 …该函数接受命令行字符串,使用 :cpp:func:`esp_console_split_argv` 函数将其拆分为 argc/argv 形式的参数列表,在已经注册的组件列表中查找命令,如果找到,则…
|
/hal_espressif-3.5.0/components/lwip/test_afl_host/ |
D | test_dhcp_server.c | 22 int main(int argc, char** argv) argument 39 if (argc != 2)
|
D | test_dhcp_client.c | 30 int main(int argc, char** argv) argument 53 if (argc != 2)
|
D | test_dns.c | 30 int main(int argc, char** argv) argument 43 if (argc != 2)
|
/hal_espressif-3.5.0/examples/network/simple_sniffer/main/ |
D | simple_sniffer_example_main.c | 237 static int mount(int argc, char **argv) in mount() argument 241 int nerrors = arg_parse(argc, argv, (void **)&mount_args); in mount() 328 static int unmount(int argc, char **argv) in unmount() argument 330 int nerrors = arg_parse(argc, argv, (void **)&mount_args); in unmount()
|
/hal_espressif-3.5.0/examples/bluetooth/nimble/bleprph/main/ |
D | scli.c | 40 static int enter_passkey_handler(int argc, char *argv[]) in enter_passkey_handler() argument 46 if (argc != 2) { in enter_passkey_handler()
|
/hal_espressif-3.5.0/examples/ethernet/iperf/main/ |
D | cmd_ethernet.c | 42 static int eth_cmd_control(int argc, char **argv) in eth_cmd_control() argument 44 int nerrors = arg_parse(argc, argv, (void **)ð_control_args); in eth_cmd_control() 78 static int eth_cmd_iperf(int argc, char **argv) in eth_cmd_iperf() argument 80 int nerrors = arg_parse(argc, argv, (void **)&iperf_args); in eth_cmd_iperf()
|