Skip to content

Commit c17132a

Browse files
authored
Merge pull request #2277 from yogpan01/master
Fix for ARMmbed/mbed-os-example-client#44
2 parents 5df7939 + f251c0f commit c17132a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

features/FEATURE_CLIENT/mbed-client/module.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mbed-client",
3-
"version": "1.13.1",
3+
"version": "1.13.2",
44
"description": "mbed Client C++ API",
55
"keywords": [],
66
"author": "Yogesh Pande <[email protected]>",

features/FEATURE_CLIENT/mbed-client/source/m2mnsdlinterface.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -666,12 +666,10 @@ bool M2MNsdlInterface::process_received_data(uint8_t *data,
666666
sn_nsdl_addr_s *address)
667667
{
668668
tr_debug("M2MNsdlInterface::process_received_data( data size %d)", data_size);
669-
__mutex_claim();
670669
return (0 == sn_nsdl_process_coap(_nsdl_handle,
671670
data,
672671
data_size,
673672
address)) ? true : false;
674-
__mutex_release();
675673
}
676674

677675
void M2MNsdlInterface::stop_timers()
@@ -692,9 +690,7 @@ void M2MNsdlInterface::stop_timers()
692690
void M2MNsdlInterface::timer_expired(M2MTimerObserver::Type type)
693691
{
694692
if(M2MTimerObserver::NsdlExecution == type) {
695-
__mutex_claim();
696693
sn_nsdl_exec(_nsdl_handle, _counter_for_nsdl);
697-
__mutex_release();
698694
_counter_for_nsdl++;
699695
} else if(M2MTimerObserver::Registration == type) {
700696
tr_debug("M2MNsdlInterface::timer_expired - M2MTimerObserver::Registration - Send update registration");

0 commit comments

Comments
 (0)