29 #ifndef POSIX_APP_CHILICTL_COMMON_COMMAND_HPP_
30 #define POSIX_APP_CHILICTL_COMMON_COMMAND_HPP_
65 Command(
const char *aCommandName,
const char *aHelpString)
Global error declarations for use across the Cascoda SDK.
Abstract class for handling command positional arguments, to be implemented by the command classes.
Definition: Command.hpp:40
const char * mCommandName
Definition: Command.hpp:62
Command(const char *aCommandName, const char *aHelpString)
Definition: Command.hpp:65
const char * GetCommandName(void)
Get the command name of this command.
Definition: Command.hpp:59
virtual ca_error Process(int argc, const char *argv[])
Run the command, processing the arguments passed in argv.
Definition: Command.hpp:53
const char * GetHelpString(void)
Get the help string for this command.
Definition: Command.hpp:56
~Command()
Definition: Command.hpp:71
const char * mHelpString
Definition: Command.hpp:63
ca_error
Cascoda error type.
Definition: ca821x_error.h:51
@ CA_ERROR_INVALID
Invalid request.
Definition: ca821x_error.h:56