nRF5 SDK for Thread v0.9.0
Functions

This module includes the platform abstraction for diagnostics features. More...

Functions

void otPlatDiagProcess (otInstance *aInstance, int argc, char *argv[], char *aOutput, size_t aOutputMaxLen)
 
void otPlatDiagModeSet (bool aMode)
 
bool otPlatDiagModeGet (void)
 
void otPlatDiagChannelSet (uint8_t aChannel)
 
void otPlatDiagTxPowerSet (int8_t aTxPower)
 
void otPlatDiagRadioReceived (otInstance *aInstance, RadioPacket *aFrame, ThreadError aError)
 
void otPlatDiagAlarmCallback (otInstance *aInstance)
 

Detailed Description

This module includes the platform abstraction for diagnostics features.

Function Documentation

void otPlatDiagAlarmCallback ( otInstance *  aInstance)

Process the platform specific alarm callback.

Parameters
[in]aInstanceThe OpenThread instance for current request.
void otPlatDiagChannelSet ( uint8_t  aChannel)

Set diagnostics channel.

bool otPlatDiagModeGet ( void  )

Get diagnostics mode.

void otPlatDiagModeSet ( bool  aMode)

Set diagnostics mode.

void otPlatDiagProcess ( otInstance *  aInstance,
int  argc,
char *  argv[],
char *  aOutput,
size_t  aOutputMaxLen 
)

Process the platform specific diagnostics features.

Parameters
[in]aInstanceThe OpenThread instance for current request.
[in]argcThe argument counter of diagnostics command line.
[in]argvThe argument vector of diagnostics command line.
[out]aOutputThe diagnostics execution result.
[in]aOutputMaxLenThe output buffer size.
void otPlatDiagRadioReceived ( otInstance *  aInstance,
RadioPacket aFrame,
ThreadError  aError 
)

Process the platform specific received frame parsing.

Parameters
[in]aInstanceThe OpenThread instance for current request.
[in]aFrameThe received radio frame.
[in]aErrorThe received radio frame status.
void otPlatDiagTxPowerSet ( int8_t  aTxPower)

Set diagnostics tx power.


Documentation feedback | Developer Zone | Subscribe | Updated