nRF5 SDK for Thread and Zigbee v3.2.0
Functions
Factory Diagnostics

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

Functions

void otDiagInit (otInstance *aInstance)
 
void otDiagProcessCmd (int aArgCount, char *aArgVector[], char *aOutput, size_t aOutputMaxLen)
 
void otDiagProcessCmdLine (const char *aString, char *aOutput, size_t aOutputMaxLen)
 
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.
void otDiagProcessCmd ( int  aArgCount,
char *  aArgVector[],
char *  aOutput,
size_t  aOutputMaxLen 
)

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.
[out]aOutputThe diagnostics execution result.
[in]aOutputMaxLenThe output buffer size.
void otDiagProcessCmdLine ( const char *  aString,
char *  aOutput,
size_t  aOutputMaxLen 
)

This function processes a factory diagnostics command line.

Parameters
[in]aStringA NULL-terminated input string.
[out]aOutputThe diagnostics execution result.
[in]aOutputMaxLenThe output buffer size.

Documentation feedback | Developer Zone | Subscribe | Updated