From b307836efe50828a25bd1c460bf0612439b86cf4 Mon Sep 17 00:00:00 2001 From: Antti Yli-Tokola Date: Tue, 31 Jul 2018 10:31:09 +0300 Subject: [PATCH] Update mbed-coap version to 4.5.1 Fixes error: IOTCLT-2883 - Blockwise observations not completing --- features/frameworks/mbed-coap/CHANGELOG.md | 6 ++++++ features/frameworks/mbed-coap/module.json | 2 +- features/frameworks/mbed-coap/source/sn_coap_protocol.c | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/features/frameworks/mbed-coap/CHANGELOG.md b/features/frameworks/mbed-coap/CHANGELOG.md index ca4755366c..a6fe55cb1b 100644 --- a/features/frameworks/mbed-coap/CHANGELOG.md +++ b/features/frameworks/mbed-coap/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## [v4.5.1](https://github.com/ARMmbed/mbed-coap/releases/tag/v4.5.1) +**Closed issues:** + - IOTCLT-2883 - Blockwise observations not completing + +-[Full Changelog](https://github.com/ARMmbed/mbed-coap/compare/v4.5.0...v4.5.1) + ## [v4.5.0](https://github.com/ARMmbed/mbed-coap/releases/tag/v4.5.0) **Closed issues:** - IIOTCLT-2769 - mbed-coap: extra response received after registration diff --git a/features/frameworks/mbed-coap/module.json b/features/frameworks/mbed-coap/module.json index bf488b5c0e..80dc45b394 100644 --- a/features/frameworks/mbed-coap/module.json +++ b/features/frameworks/mbed-coap/module.json @@ -1,6 +1,6 @@ { "name": "mbed-coap", - "version": "4.5.0", + "version": "4.5.1", "description": "COAP library", "keywords": [ "coap", diff --git a/features/frameworks/mbed-coap/source/sn_coap_protocol.c b/features/frameworks/mbed-coap/source/sn_coap_protocol.c index 1aaaaa68f7..587ab787b5 100644 --- a/features/frameworks/mbed-coap/source/sn_coap_protocol.c +++ b/features/frameworks/mbed-coap/source/sn_coap_protocol.c @@ -1723,7 +1723,7 @@ static coap_blockwise_msg_s *sn_coap_stored_blockwise_msg_get(struct coap_s *han } } - return NULL; + return ns_list_get_first(&handle->linked_list_blockwise_sent_msgs); } /**************************************************************************//**