This module includes functions that control the Thread stack's execution.
More...
This module includes functions that control the Thread stack's execution.
Initialize the diagnostics module.
- Parameters
-
[in] | aInstance | A pointer to the OpenThread instance. |
bool otDiagIsEnabled |
( |
void |
| ) |
|
This function indicates whether or not the factory diagnostics mode is enabled.
- Returns
- TRUE if factory diagnostics mode is enabled, FALSE otherwise.
void otDiagProcessCmd |
( |
int |
aArgCount, |
|
|
char * |
aArgVector[], |
|
|
char * |
aOutput, |
|
|
size_t |
aOutputMaxLen |
|
) |
| |
This function processes a factory diagnostics command line.
- Parameters
-
[in] | aArgCount | The argument counter of diagnostics command line. |
[in] | aArgVector | The argument vector of diagnostics command line. |
[out] | aOutput | The diagnostics execution result. |
[in] | aOutputMaxLen | The output buffer size. |
void otDiagProcessCmdLine |
( |
const char * |
aString, |
|
|
char * |
aOutput, |
|
|
size_t |
aOutputMaxLen |
|
) |
| |
This function processes a factory diagnostics command line.
- Parameters
-
[in] | aString | A NULL-terminated input string. |
[out] | aOutput | The diagnostics execution result. |
[in] | aOutputMaxLen | The output buffer size. |