mirror of
https://github.com/espressif/openthread.git
synced 2026-08-14 22:57:46 +00:00
[otns] implement otPlatOtnsStatus for posix (#5357)
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
#include <openthread-core-config.h>
|
||||
#include <openthread/tasklet.h>
|
||||
#include <openthread/platform/alarm-milli.h>
|
||||
#include <openthread/platform/otns.h>
|
||||
#include <openthread/platform/radio.h>
|
||||
#include <openthread/platform/uart.h>
|
||||
|
||||
@@ -203,3 +204,12 @@ void otSysMainloopProcess(otInstance *aInstance, const otSysMainloopContext *aMa
|
||||
platformUdpProcess(aInstance, &aMainloop->mReadFdSet);
|
||||
#endif
|
||||
}
|
||||
|
||||
#if OPENTHREAD_CONFIG_OTNS_ENABLE
|
||||
|
||||
void otPlatOtnsStatus(const char *aStatus)
|
||||
{
|
||||
otLogOtns("[OTNS] %s", aStatus);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user