mirror of
https://github.com/espressif/openthread.git
synced 2026-10-24 16:23:51 +00:00
@@ -40,41 +40,6 @@ using namespace Thread;
|
||||
|
||||
namespace Thread {
|
||||
|
||||
extern "C" void otSignalTaskletPending(otInstance *)
|
||||
{
|
||||
}
|
||||
|
||||
extern "C" bool otAreTaskletsPending(otInstance *)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
extern "C" void otPlatUartSendDone(void)
|
||||
{
|
||||
}
|
||||
|
||||
extern "C" void otPlatUartReceived(const uint8_t *aBuf, uint16_t aBufLength)
|
||||
{
|
||||
(void)aBuf;
|
||||
(void)aBufLength;
|
||||
}
|
||||
|
||||
extern "C" void otPlatDiagAlarmFired(otInstance *)
|
||||
{
|
||||
}
|
||||
|
||||
extern "C" void otPlatDiagRadioTransmitDone(otInstance *, bool aRxPending, ThreadError aError)
|
||||
{
|
||||
(void)aRxPending;
|
||||
(void)aError;
|
||||
}
|
||||
|
||||
extern "C" void otPlatDiagRadioReceiveDone(otInstance *, RadioPacket *aFrame, ThreadError aError)
|
||||
{
|
||||
(void)aFrame;
|
||||
(void)aError;
|
||||
}
|
||||
|
||||
Ip6::Ip6 sIp6;
|
||||
ThreadNetif sMockThreadNetif(sIp6);
|
||||
Lowpan::Lowpan sMockLowpan(sMockThreadNetif);
|
||||
@@ -162,7 +127,7 @@ void TestLowpanIphc(void)
|
||||
|
||||
} // namespace Thread
|
||||
|
||||
|
||||
#ifdef ENABLE_TEST_MAIN
|
||||
int main(void)
|
||||
{
|
||||
TestLowpanIphc();
|
||||
@@ -170,3 +135,4 @@ int main(void)
|
||||
printf("All tests passed\n");
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user