mirror of
https://github.com/espressif/openthread.git
synced 2026-07-25 05:24:08 +00:00
[ncp] add radio only mode NCP app (#2085)
This commit is contained in:
@@ -162,6 +162,7 @@ exit:
|
||||
return next;
|
||||
}
|
||||
|
||||
#if OPENTHREAD_MTD || OPENTHREAD_FTD
|
||||
void otMessageGetBufferInfo(otInstance *aInstance, otBufferInfo *aBufferInfo)
|
||||
{
|
||||
uint16_t messages, buffers;
|
||||
@@ -181,8 +182,8 @@ void otMessageGetBufferInfo(otInstance *aInstance, otBufferInfo *aBufferInfo)
|
||||
instance.GetThreadNetif().GetMeshForwarder().GetResolvingQueue().GetInfo(aBufferInfo->mArpMessages,
|
||||
aBufferInfo->mArpBuffers);
|
||||
#else
|
||||
aBufferInfo->mArpMessages = 0;
|
||||
aBufferInfo->mArpBuffers = 0;
|
||||
aBufferInfo->mArpMessages = 0;
|
||||
aBufferInfo->mArpBuffers = 0;
|
||||
#endif
|
||||
|
||||
instance.GetThreadNetif().GetIp6().GetSendQueue().GetInfo(aBufferInfo->mIp6Messages, aBufferInfo->mIp6Buffers);
|
||||
@@ -220,3 +221,4 @@ void otMessageGetBufferInfo(otInstance *aInstance, otBufferInfo *aBufferInfo)
|
||||
aBufferInfo->mApplicationCoapBuffers = 0;
|
||||
#endif
|
||||
}
|
||||
#endif // OPENTHREAD_MTD || OPENTHREAD_FTD
|
||||
|
||||
Reference in New Issue
Block a user