Home
last modified time | relevance | path

Searched refs:cli_command (Results 1 – 25 of 43) sorted by relevance

12

/AliOS-Things-master/components/cli/src/
A Dcli_aos.c32 int aos_cli_register_command(const struct cli_command *cmd) in aos_cli_register_command()
34 return _cli_to_aos_res(cli_register_command((struct cli_command *)cmd)); in aos_cli_register_command()
37 int aos_cli_unregister_command(const struct cli_command *cmd) in aos_cli_unregister_command()
39 return _cli_to_aos_res(cli_unregister_command((struct cli_command *)cmd)); in aos_cli_unregister_command()
42 int aos_cli_register_commands(const struct cli_command *cmds, int num) in aos_cli_register_commands()
44 return _cli_to_aos_res(cli_register_commands((struct cli_command *)cmds, num)); in aos_cli_register_commands()
47 int aos_cli_unregister_commands(const struct cli_command *cmds, int num) in aos_cli_unregister_commands()
49 return _cli_to_aos_res(cli_unregister_commands((struct cli_command *)cmds, num)); in aos_cli_unregister_commands()
A Dcli_api.h58 int32_t cli_register_command(const struct cli_command *cmd);
68 int32_t cli_unregister_command(const struct cli_command *cmd);
79 int32_t cli_register_commands(const struct cli_command *cmds, int32_t num);
90 int32_t cli_unregister_commands(const struct cli_command *cmds, int32_t num);
118 struct cli_command *cli_get_command(int32_t index);
A Dcli.c57 const struct cli_command *cmds[CLI_MAX_COMMANDS];
89 static const struct cli_command *lookup_command(char *name, int32_t len) in lookup_command()
124 const struct cli_command *command = NULL; in proc_onecmd()
1140 struct cli_command *cmd; in usr_cli_register_init()
1146 cmd = (struct cli_command *)cli_malloc(sizeof(struct cli_command)); in usr_cli_register_init()
1167 struct cli_command *cmd = NULL; in help_cmd()
1195 static const struct cli_command built_ins[] = {
1267 int32_t cli_register_command(const struct cli_command *cmd) in cli_register_command()
1298 int32_t cli_unregister_command(const struct cli_command *cmd) in cli_unregister_command()
1449 struct cli_command *cli_get_command(int32_t index) in cli_get_command()
[all …]
/AliOS-Things-master/components/cli/include/aos/
A Dcli.h20 struct cli_command struct
70 int aos_cli_register_command(const struct cli_command *cmd);
80 int aos_cli_unregister_command(const struct cli_command *cmd);
91 int aos_cli_register_commands(const struct cli_command *cmds, int num);
102 int aos_cli_unregister_commands(const struct cli_command *cmds, int num);
/AliOS-Things-master/components/uvoice/example/
A Duvoice_example.c36 struct cli_command uvoicedemo_commands[] = {
55 sizeof(uvoicedemo_commands) / sizeof(struct cli_command)); in uvoice_example()
/AliOS-Things-master/components/init/
A Daos_init.c124 struct cli_command tcpip_cli_cmd[] = {
131 aos_cli_register_commands(&tcpip_cli_cmd[0],sizeof(tcpip_cli_cmd) / sizeof(struct cli_command)); in tcpip_cli_init()
184 static struct cli_command wifi_cli_cmd[] = {
191 aos_cli_register_commands(&wifi_cli_cmd[0],sizeof(wifi_cli_cmd) / sizeof(struct cli_command)); in hal_wifi_cli_init()
/AliOS-Things-master/solutions/audio_demo/
A Daudio_api.c58 struct cli_command audio_demo_commands[] = {
68 …i_register_commands(audio_demo_commands, sizeof(audio_demo_commands) / sizeof(struct cli_command)); in haas_audio_init()
/AliOS-Things-master/hardware/board/haaseduk1/board_test/
A Daudio_test.c99 struct cli_command audio_test_commands[] = {
110 sizeof(audio_test_commands) / sizeof(struct cli_command)); in audio_test()
A Dusb_test.c42 static struct cli_command usbtest_cmd = {
A Doled_test.c60 static struct cli_command oled_cmd = {
A Dwatchdog_test.c50 static struct cli_command watchdog_test_cmd = {
A Dled_test.c77 static struct cli_command led_cmd = {
A Dpwm_test.c84 static struct cli_command pwmtest_cmd = {
A Dadc_test.c111 static struct cli_command adctest_cmd = {
A Dble_test.c150 static struct cli_command ble_cmd = {
/AliOS-Things-master/components/cli/
A DREADME.md179 const struct cli_command cmd = {"test", "test cmd description", test_cmd};
203 const struct cli_command cmds[] = {
208 ret = aos_cli_register_commands(&cmds, sizeof(cmds) / sizeof(struct cli_command));
261 const struct cli_command cmd = {"test", "test cmd description", test_cmd};
263 const struct cli_command cmds[] = {
282 ret = aos_cli_register_commands(&cmds, sizeof(cmds) / sizeof(struct cli_command));
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/lsfd/
A Dlsfd_cli.c12 struct cli_command lsfd_cmd[] = {
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/arp/
A Darp_cli.c11 struct cli_command arp_cmd[] = {
/AliOS-Things-master/components/ulog/src/
A Dulog_init.c137 static struct cli_command ulog_cli_cmd[] = {
241 … aos_cli_register_commands(&ulog_cli_cmd[0], sizeof(ulog_cli_cmd) / sizeof(struct cli_command)); in ulog_init()
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/dns/
A Ddns_cli.c11 struct cli_command dns_cmd[] = {
/AliOS-Things-master/components/drivers/peripheral/gpio/example/
A Dgpio_example.c65 struct cli_command vfs_gpio_cli_cmds[] = {
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/sendfile/
A Dsendfile_cli.c38 struct cli_command sendfile_message_cmd[] = {
/AliOS-Things-master/components/netmgr/netdev/src/
A Dnetdev_cli.c403 static struct cli_command ifconfig_cmd = {
576 static struct cli_command ping_cmd = {
650 static struct cli_command dns_cmd = {
697 static struct cli_command netstat_cmd = {
/AliOS-Things-master/components/debug/src/
A Ddebug_cli_cmd.c38 static const struct cli_command built_ins[] = {
268 ret = aos_cli_register_commands(built_ins, sizeof(built_ins) / sizeof(struct cli_command)); in debug_default_cmds_register()
A Ddebug_dumpsys.c285 static const struct cli_command dumpsys_cli_cmd[] = {
300 …= aos_cli_register_commands(dumpsys_cli_cmd, sizeof(dumpsys_cli_cmd) / sizeof(struct cli_command)); in debug_dumpsys_cmds_register()

Completed in 25 milliseconds

12