0.01.00
Factory Diagnostics

This module includes functions that control the Thread stack's execution. More...

Functions

void otDiagInit (otInstance *aInstance)
 Initialize the diagnostics module. More...
 
char * otDiagProcessCmd (int argc, char *argv[])
 This function processes a factory diagnostics command line. More...
 
char * otDiagProcessCmdLine (char *aString)
 This function processes a factory diagnostics command line. More...
 
bool otDiagIsEnabled (void)
 This function indicates whether or not the factory diagnostics mode is enabled. More...
 

Detailed Description

This module includes functions that control the Thread stack's execution.

Function Documentation

§ otDiagInit()

void otDiagInit ( otInstance aInstance)

Initialize the diagnostics module.

Parameters
[in]aInstanceA pointer to the OpenThread instance.

§ otDiagIsEnabled()

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.

§ otDiagProcessCmd()

char* otDiagProcessCmd ( int  argc,
char *  argv[] 
)

This function processes a factory diagnostics command line.

Parameters
[in]argcThe argument counter of diagnostics command line.
[in]argvThe argument vector of diagnostics command line.
Returns
A pointer to the output string.

§ otDiagProcessCmdLine()

char* otDiagProcessCmdLine ( char *  aString)

This function processes a factory diagnostics command line.

Parameters
[in]aStringA NULL-terminated string.
Returns
A pointer to the output string.