nRF5 SDK for Thread and Zigbee v1.0.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Factory Diagnostics

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

Functions

void otDiagInit (otInstance *aInstance)
 
const char * otDiagProcessCmd (int aArgCount, char *aArgVector[])
 
const char * otDiagProcessCmdLine (const char *aString)
 
bool otDiagIsEnabled (void)
 

Detailed Description

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

Function Documentation

void otDiagInit ( otInstance aInstance)

Initialize the diagnostics module.

Parameters
[in]aInstanceA 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.
const char* otDiagProcessCmd ( int  aArgCount,
char *  aArgVector[] 
)

This function processes a factory diagnostics command line.

Parameters
[in]aArgCountThe argument counter of diagnostics command line.
[in]aArgVectorThe argument vector of diagnostics command line.
Returns
A pointer to the output string.
const char* otDiagProcessCmdLine ( const char *  aString)

This function processes a factory diagnostics command line.

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