mirror of
https://github.com/espressif/openthread.git
synced 2026-07-31 16:17:47 +00:00
[diag] move factory diags into core (#4010)
- Simplifies make files by not having to deal with separate library. - Combine factory diags source into single source file.
This commit is contained in:
@@ -417,9 +417,11 @@ exit:
|
||||
// Diag
|
||||
//
|
||||
|
||||
void otPlatDiagProcess(int argc, char *argv[], char *aOutput)
|
||||
void otPlatDiagProcess(otInstance *aInstance, int argc, char *argv[], char *aOutput, size_t aOutputMaxLen)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
OT_UNUSED_VARIABLE(argc);
|
||||
OT_UNUSED_VARIABLE(aOutputMaxLen);
|
||||
|
||||
// no more diagnostics features for Posix platform
|
||||
sprintf(aOutput, "diag feature '%s' is not supported\r\n", argv[0]);
|
||||
@@ -435,15 +437,19 @@ bool otPlatDiagModeGet()
|
||||
return sDiagMode;
|
||||
}
|
||||
|
||||
void otPlatDiagAlarmFired(otInstance *)
|
||||
void otPlatDiagChannelSet(uint8_t)
|
||||
{
|
||||
}
|
||||
|
||||
void otPlatDiagRadioTransmitDone(otInstance *, otRadioFrame *, otError)
|
||||
void otPlatDiagTxPowerSet(int8_t)
|
||||
{
|
||||
}
|
||||
|
||||
void otPlatDiagRadioReceiveDone(otInstance *, otRadioFrame *, otError)
|
||||
void otPlatDiagRadioReceived(otInstance *, otRadioFrame *, otError)
|
||||
{
|
||||
}
|
||||
|
||||
void otPlatDiagAlarmCallback(otInstance *)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user