nRF5 SDK for Thread v0.11.0
Functions
Factory Diagnostics

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

Functions

void otDiagInit (otInstance *aInstance)
 
char * otDiagProcessCmd (int argc, char *argv[])
 
char * otDiagProcessCmdLine (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.
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.
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.

Documentation feedback | Developer Zone | Subscribe | Updated