[CoAP Server] Message deduplication (#1500)

* Message deduplication in CoAP server.

* Limit number of responses in CoAP server deduplication queue.
This commit is contained in:
Hubert Miś
2017-03-23 10:01:58 +01:00
committed by Jonathan Hui
parent 4fae0c248a
commit 68de8f669a
14 changed files with 444 additions and 45 deletions
+2 -1
View File
@@ -433,7 +433,8 @@ void Interpreter::ProcessBufferInfo(int argc, char *argv[])
sServer->OutputFormat("mpl: %d %d\r\n", bufferInfo.mMplMessages, bufferInfo.mMplBuffers);
sServer->OutputFormat("mle: %d %d\r\n", bufferInfo.mMleMessages, bufferInfo.mMleBuffers);
sServer->OutputFormat("arp: %d %d\r\n", bufferInfo.mArpMessages, bufferInfo.mArpBuffers);
sServer->OutputFormat("coap: %d %d\r\n", bufferInfo.mCoapClientMessages, bufferInfo.mCoapClientBuffers);
sServer->OutputFormat("coap client: %d %d\r\n", bufferInfo.mCoapClientMessages, bufferInfo.mCoapClientBuffers);
sServer->OutputFormat("coap server: %d %d\r\n", bufferInfo.mCoapServerMessages, bufferInfo.mCoapServerBuffers);
AppendResult(kThreadError_None);
}