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.
char* otDiagProcessCmd |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
This function processes a factory diagnostics command line.
- Parameters
-
[in] | argc | The argument counter of diagnostics command line. |
[in] | argv | The argument vector of diagnostics command line. |
- Returns
- A pointer to the output string.
char* otDiagProcessCmdLine |
( |
char * |
aString | ) |
|
This function processes a factory diagnostics command line.
- Parameters
-
[in] | aString | A NULL-terminated string. |
- Returns
- A pointer to the output string.