mirror of
https://github.com/espressif/openthread.git
synced 2026-07-08 21:30:24 +00:00
[message] extend buffer info provided by otMessageGetBufferInfo() (#2249)
* Include application CoAP messages and buffers * Include cached messages and buffers * Set unused buffer info fields to zero
This commit is contained in:
@@ -441,6 +441,8 @@ void Interpreter::ProcessBufferInfo(int argc, char *argv[])
|
||||
mServer->OutputFormat("arp: %d %d\r\n", bufferInfo.mArpMessages, bufferInfo.mArpBuffers);
|
||||
mServer->OutputFormat("coap: %d %d\r\n", bufferInfo.mCoapMessages, bufferInfo.mCoapBuffers);
|
||||
mServer->OutputFormat("coap secure: %d %d\r\n", bufferInfo.mCoapSecureMessages, bufferInfo.mCoapSecureBuffers);
|
||||
mServer->OutputFormat("application coap: %d %d\r\n", bufferInfo.mApplicationCoapMessages,
|
||||
bufferInfo.mApplicationCoapBuffers);
|
||||
|
||||
AppendResult(OT_ERROR_NONE);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user