|
GPS Device
|
Data types used by the command subsystem. More...

Classes | |
| struct | CMD_INFO_ts |
| Describes a single command exposed by a client. More... | |
| struct | CMD_CLIENT_INFO_ts |
| Describes a subsystem client registering with the command module. More... | |
Typedefs | |
| typedef ERR_te(* | CMD_HANDLER_tf) (uint32_t argc, char **argv) |
| Function pointer type for a command handler. | |
Data types used by the command subsystem.
| typedef ERR_te(* CMD_HANDLER_tf) (uint32_t argc, char **argv) |
Function pointer type for a command handler.
Each command registered with the subsystem must provide a handler matching this signature. The handler receives the tokenized argument list produced by cmd_execute.
| [in] | argc | Number of tokens in argv. |
| [in] | argv | Array of token strings. argv[0] is the client name, argv[1] is the command name, and subsequent entries are command-specific arguments. |