Factory Diagnostics - Thread Stack#
This module includes functions that control the Thread stack's execution.
Typedefs#
Functions#
Sets the diag output callback.
Processes a factory diagnostics command line.
Processes a factory diagnostics command line.
Indicates whether or not the factory diagnostics mode is enabled.
Typedef Documentation#
otDiagOutputCallback#
typedef otPlatDiagOutputCallback otDiagOutputCallback
55
of file include/openthread/diag.h
Function Documentation#
otDiagSetOutputCallback#
void otDiagSetOutputCallback (otInstance * aInstance, otDiagOutputCallback aCallback, void * aContext)
Sets the diag output callback.
[in] | aInstance | The OpenThread instance structure. |
[in] | aCallback | A pointer to a function that is called on outputting diag messages. |
[in] | aContext | A pointer to the user context. |
64
of file include/openthread/diag.h
otDiagProcessCmd#
otError otDiagProcessCmd (otInstance * aInstance, uint8_t aArgsLength, char * aArgs)
Processes a factory diagnostics command line.
[in] | aInstance | A pointer to an OpenThread instance. |
[in] | aArgsLength | The number of elements in |
[in] | aArgs | An array of arguments. |
77
of file include/openthread/diag.h
otDiagProcessCmdLine#
otError otDiagProcessCmdLine (otInstance * aInstance, const char * aString)
Processes a factory diagnostics command line.
[in] | aInstance | A pointer to an OpenThread instance. |
[in] | aString | A NULL-terminated input string. |
90
of file include/openthread/diag.h
otDiagIsEnabled#
bool otDiagIsEnabled (otInstance * aInstance)
Indicates whether or not the factory diagnostics mode is enabled.
[in] | aInstance | A pointer to an OpenThread instance. |
100
of file include/openthread/diag.h