Skip to content

Commit

Permalink
Merge pull request #84 from PelionIoT/release-4.9.1
Browse files Browse the repository at this point in the history
mbed-cloud-client 4.9.1
  • Loading branch information
teetak01 authored Jun 17, 2021
2 parents 64904a1 + 41262f9 commit 7e45d92
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
## Changelog for Pelion Device Management Client

### Release 4.9.1 (17.06.2021)

### Device Management Client
- Fixed the incorrect overriding of CoAP retransmission buffer size.

### Platform Adaptation Layer (PAL)
- [Zephyr] Fixed a memory leak on DNs handling.

### Release 4.9.0 (20.05.2021)

### Device Management Client
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,9 @@ palStatus_t pal_plat_getAddressInfo(const char* hostname, palSocketAddress_t* ad
assert(0);
}

/* release allocated resources */
freeaddrinfo(info);

} else {

result = PAL_ERR_SOCKET_DNS_ERROR;
Expand Down
4 changes: 1 addition & 3 deletions mbed-client/source/m2mnsdlinterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

#define REGISTRATION_UPDATE_DELAY 10 // wait 10ms before sending registration update for PUT to resource 1/0/1

const char *MCC_VERSION = "mccv=4.9.0";
const char *MCC_VERSION = "mccv=4.9.1";

int8_t M2MNsdlInterface::_tasklet_id = -1;

Expand Down Expand Up @@ -318,8 +318,6 @@ bool M2MNsdlInterface::initialize()
MBED_CLIENT_RECONNECTION_COUNT,
_network_rtt_estimate);

sn_nsdl_set_retransmission_buffer(_nsdl_handle, MBED_CLIENT_SN_COAP_RESENDING_QUEUE_SIZE_MSGS, 0);

sn_nsdl_handle_block2_response_internally(_nsdl_handle, false);

// Allocate the memory for endpoint
Expand Down

0 comments on commit 7e45d92

Please sign in to comment.