Command struct representing a command and its variable types.
Represents both a group and a single command. A group is characterized by the its argument list being { SL_CLI_ARG_GROUP }. The handler will then point to the first element in the group array (sl_cli_command_entry_t[]). To initialize, use macros SL_CLI_COMMAND or SL_CLI_COMMAND_GROUP. arg_help is string where 0x1f (unit separator) separates the messages.
Public Attribute Documentation#
function#
sl_cli_command_func_t sl_cli_command_info_t::function
Command function.
Definition at line
114
of file platform/service/cli/inc/sl_cli_types.h
arg_type_list#
sl_cli_argument_type_t sl_cli_command_info_t::arg_type_list[]
List of argument types.
Definition at line
119
of file platform/service/cli/inc/sl_cli_types.h