[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
+3
View File
@@ -173,6 +173,9 @@ void otMessageGetBufferInfo(otInstance *aInstance, otBufferInfo *aBufferInfo)
aInstance->mThreadNetif.GetCoapClient().GetRequestMessages().GetInfo(aBufferInfo->mCoapClientMessages,
aBufferInfo->mCoapClientBuffers);
aInstance->mThreadNetif.GetCoapServer().GetCachedResponses().GetInfo(aBufferInfo->mCoapServerMessages,
aBufferInfo->mCoapServerBuffers);
}
#ifdef __cplusplus