Symbols
loading...
Files
loading...
SummarySyntaxReferences

Fields

Field
Declared as
Description
const char *
Command name. Must not be NULL, must not contain spaces. The pointer must be valid until the call to esp_console_deinit.
const char *
Help text for the command, shown by help command. If set, the pointer must be valid until the call to esp_console_deinit. If not set, the command will not be listed in 'help' output.
const char *
Hint text, usually lists possible arguments. If set to NULL, and 'argtable' field is non-NULL, hint will be generated automatically.
Pointer to a function which implements the command. @note: Setting both \c func and \c func_w_context is not allowed.
void *
Array or structure of pointers to arg_xxx structures, may be NULL. Used to generate hint text if 'hint' is set to NULL. Array/structure which this field points to must end with an arg_end. Only used for the duration of esp_console_cmd_register call.
Pointer to a context aware function which implements the command. @note: Setting both \c func and \c func_w_context is not allowed.
void *
Context pointer to user-defined per-command context data. This is used if context aware function \c func_w_context is set.

References

from examples