Skip to content

Shell 命令行

shell_handler(command, desc)

@ingroup shell

参数

  • command:the 名称 of command.
  • desc:the description of command, which will show in help.

返回值:无

shell_exec(command, desc)

@ingroup shell

参数

  • command:the 名称 of command.
  • desc:the description of command, which will show in help.

返回值:见 SDK 头文件

shell_set_prompt(command, desc)

@ingroup shell

参数

  • command:the 名称 of command.
  • desc:the description of command, which will show in help.

返回值:见 SDK 头文件

shell_set_echo(command, desc)

@ingroup shell

参数

  • command:the 名称 of command.
  • desc:the description of command, which will show in help.

返回值:见 SDK 头文件

shell_init(command, desc)

@ingroup shell

参数

  • command:the 名称 of command.
  • desc:the description of command, which will show in help.

返回值:无

shell_init_with_task(command, desc)

@ingroup shell

参数

  • command:the 名称 of command.
  • desc:the description of command, which will show in help.

返回值:无

shell_exe_cmd(command, desc)

@ingroup shell

参数

  • command:the 名称 of command.
  • desc:the description of command, which will show in help.

返回值:无

shell_auto_start(command, desc)

@ingroup shell

参数

  • command:the 名称 of command.
  • desc:the description of command, which will show in help.

返回值:无

shell_auto_run(command, desc)

@ingroup shell

参数

  • command:the 名称 of command.
  • desc:the description of command, which will show in help.

返回值:见 SDK 头文件

shell_wait_exec_done(command, desc)

@ingroup shell

参数

  • command:the 名称 of command.
  • desc:the description of command, which will show in help.

返回值:见 SDK 头文件

shell_signal(command, desc)

@ingroup shell

参数

  • command:the 名称 of command.
  • desc:the description of command, which will show in help.

返回值:见 SDK 头文件

遇到问题?

如有其他问题,请到统一的提问与讨论区:Ai-Thinker Discussions

Released under the MIT License. Build Time 2026-09-11 14:52:23