otCliCommand

#include <cli.h>

Represents a CLI command.

Summary

Public attributes

mCommand)(void *aContext, uint8_t aArgsLength, char *aArgs[])
A function pointer to process the command.
mName
const char *
A pointer to the command string.

Public attributes

mCommand

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

A function pointer to process the command.

mName

const char * otCliCommand::mName

A pointer to the command string.

Resources

OpenThread API Reference topics originate from the source code, available on GitHub. For more information, or to contribute to our documentation, refer to Resources.