#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.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. The OPENTHREAD and related marks are trademarks of the Thread Group and are used under license.

Last updated 2024-01-02 UTC.