This module includes the platform abstraction for diagnostics features.
More...
This module includes the platform abstraction for diagnostics features.
void otPlatDiagAlarmCallback |
( |
otInstance * |
aInstance | ) |
|
Process the platform specific alarm callback.
- Parameters
-
[in] | aInstance | The OpenThread instance for current request. |
void otPlatDiagChannelSet |
( |
uint8_t |
aChannel | ) |
|
bool otPlatDiagModeGet |
( |
void |
| ) |
|
void otPlatDiagModeSet |
( |
bool |
aMode | ) |
|
void otPlatDiagProcess |
( |
otInstance * |
aInstance, |
|
|
int |
argc, |
|
|
char * |
argv[], |
|
|
char * |
aOutput, |
|
|
size_t |
aOutputMaxLen |
|
) |
| |
Process the platform specific diagnostics features.
- Parameters
-
[in] | aInstance | The OpenThread instance for current request. |
[in] | argc | The argument counter of diagnostics command line. |
[in] | argv | The argument vector of diagnostics command line. |
[out] | aOutput | The diagnostics execution result. |
[in] | aOutputMaxLen | The output buffer size. |
void otPlatDiagRadioReceived |
( |
otInstance * |
aInstance, |
|
|
RadioPacket * |
aFrame, |
|
|
ThreadError |
aError |
|
) |
| |
Process the platform specific received frame parsing.
- Parameters
-
[in] | aInstance | The OpenThread instance for current request. |
[in] | aFrame | The received radio frame. |
[in] | aError | The received radio frame status. |
void otPlatDiagTxPowerSet |
( |
int8_t |
aTxPower | ) |
|
Set diagnostics tx power.