/AliOS-Things-master/components/cli/src/ |
A D | cli_aos.c | 32 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 D | cli_api.h | 58 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 D | cli.c | 57 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 D | cli.h | 20 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 D | uvoice_example.c | 36 struct cli_command uvoicedemo_commands[] = { 55 sizeof(uvoicedemo_commands) / sizeof(struct cli_command)); in uvoice_example()
|
/AliOS-Things-master/components/init/ |
A D | aos_init.c | 124 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 D | audio_api.c | 58 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 D | audio_test.c | 99 struct cli_command audio_test_commands[] = { 110 sizeof(audio_test_commands) / sizeof(struct cli_command)); in audio_test()
|
A D | usb_test.c | 42 static struct cli_command usbtest_cmd = {
|
A D | oled_test.c | 60 static struct cli_command oled_cmd = {
|
A D | watchdog_test.c | 50 static struct cli_command watchdog_test_cmd = {
|
A D | led_test.c | 77 static struct cli_command led_cmd = {
|
A D | pwm_test.c | 84 static struct cli_command pwmtest_cmd = {
|
A D | adc_test.c | 111 static struct cli_command adctest_cmd = {
|
A D | ble_test.c | 150 static struct cli_command ble_cmd = {
|
/AliOS-Things-master/components/cli/ |
A D | README.md | 179 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 D | lsfd_cli.c | 12 struct cli_command lsfd_cmd[] = {
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/arp/ |
A D | arp_cli.c | 11 struct cli_command arp_cmd[] = {
|
/AliOS-Things-master/components/ulog/src/ |
A D | ulog_init.c | 137 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 D | dns_cli.c | 11 struct cli_command dns_cmd[] = {
|
/AliOS-Things-master/components/drivers/peripheral/gpio/example/ |
A D | gpio_example.c | 65 struct cli_command vfs_gpio_cli_cmds[] = {
|
/AliOS-Things-master/components/lwip/lwip2.0.0/apps/sendfile/ |
A D | sendfile_cli.c | 38 struct cli_command sendfile_message_cmd[] = {
|
/AliOS-Things-master/components/netmgr/netdev/src/ |
A D | netdev_cli.c | 403 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 D | debug_cli_cmd.c | 38 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 D | debug_dumpsys.c | 285 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()
|