Skip to content

Commit 23a84dd

Browse files
authored
Merge pull request #13180 from esajaa/master
Update mbed-coap to version 5.1.6
2 parents 0e225f9 + c9748a8 commit 23a84dd

File tree

4 files changed

+292
-157
lines changed

4 files changed

+292
-157
lines changed

features/frameworks/mbed-coap/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Change Log
22

3+
## [v5.1.6](https://github.com/ARMmbed/mbed-coap/releases/tag/v5.1.6)
4+
5+
- Multiple fixes for out-ouf-bounds memory accesses, a memory leak and an infinite loop condition in packet parser.
6+
- Mapped `MBED_CONF_MBED_CLIENT_RECONNECTION_COUNT` Pelion Device Management Client configuration option to `SN_COAP_RESENDING_MAX_COUNT` in mbed-coap.
7+
- Fix the token from blockwise ACK message to be empty if the received message doesn't have one.
8+
39
## [v5.1.5](https://github.com/ARMmbed/mbed-coap/releases/tag/v5.1.5)
410

511
- Added handling for duplicate message handling for Block2 messages. Previously CoAP was silently ignoring the duplicate messages. Now proper response will be sent.

features/frameworks/mbed-coap/mbed-coap/sn_config.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,10 @@
165165
* \brief Defines how many times CoAP library tries to re-send the CoAP packet.
166166
* By default value is 3.
167167
*/
168+
#ifdef MBED_CONF_MBED_CLIENT_RECONNECTION_COUNT
169+
#define SN_COAP_RESENDING_MAX_COUNT MBED_CONF_MBED_CLIENT_RECONNECTION_COUNT
170+
#endif
171+
168172
#ifndef SN_COAP_RESENDING_MAX_COUNT
169173
#define SN_COAP_RESENDING_MAX_COUNT 3
170174
#endif

0 commit comments

Comments
 (0)