Factory Diagnostics - Thread Stack
Stay organized with collections
Save and categorize content based on your preferences.
This module includes functions that control the Thread stack's execution.
Summary
Functions |
|
|---|---|
otDiagIsEnabled(otInstance *aInstance)
|
bool
This function indicates whether or not the factory diagnostics mode is enabled.
|
otDiagProcessCmd(otInstance *aInstance, uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen)
|
This function processes a factory diagnostics command line.
|
otDiagProcessCmdLine(otInstance *aInstance, const char *aString, char *aOutput, size_t aOutputMaxLen)
|
void
This function processes a factory diagnostics command line.
|
Functions
otDiagIsEnabled
bool otDiagIsEnabled( otInstance *aInstance )
This function indicates whether or not the factory diagnostics mode is enabled.
| Details | |||||
|---|---|---|---|---|---|
| Parameters |
|
||||
| Return Values |
|
||||
otDiagProcessCmd
otError otDiagProcessCmd( otInstance *aInstance, uint8_t aArgsLength, char *aArgs[], char *aOutput, size_t aOutputMaxLen )
This function processes a factory diagnostics command line.
The output of this function (the content written to aOutput) MUST terminate with \0 and the \0 is within the output buffer.
| Details | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Parameters |
|
||||||||||
| Return Values |
|
||||||||||
otDiagProcessCmdLine
void otDiagProcessCmdLine( otInstance *aInstance, const char *aString, char *aOutput, size_t aOutputMaxLen )
This function processes a factory diagnostics command line.
The output of this function (the content written to aOutput) MUST terminate with \0 and the \0 is within the output buffer.
| Details | |||||||||
|---|---|---|---|---|---|---|---|---|---|
| Parameters |
|
||||||||
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.