Represents a CLI command.

Public Attributes#

const char *

A pointer to the command string.

A function pointer to process the command.

void(*

A function pointer to process the command.

Public Attribute Documentation#

mName#

const char * otCliCommand::mName

A pointer to the command string.


mCommand#

otError(* otCliCommand::mCommand) (void *aContext, uint8_t aArgsLength, char *aArgs[])

A function pointer to process the command.


mCommand#

void(* otCliCommand::mCommand) (void *aContext, uint8_t aArgsLength, char *aArgs[])

A function pointer to process the command.