version of nsdl to work with lwm2m, updated RD parameters and location option handling
Dependents: ArchPro_LWM2M_LED_Client Weather_Station_LWM2M mbedEndpointNetwork
Fork of nanoservice_client_1_12 by
Revision 10:b5ecd6660d71, committed 2015-04-13
- Comitter:
- michaeljkoster
- Date:
- Mon Apr 13 22:13:40 2015 +0000
- Parent:
- 9:92486dc835ee
- Commit message:
- Add error return from sn_nsdl_register_endpoint() in sn_nsdl.c
Changed in this revision
sn_nsdl.c | Show annotated file Show diff for this revision Revisions of this file |
diff -r 92486dc835ee -r b5ecd6660d71 sn_nsdl.c --- a/sn_nsdl.c Sat Feb 07 19:55:13 2015 +0000 +++ b/sn_nsdl.c Mon Apr 13 22:13:40 2015 +0000 @@ -917,9 +917,11 @@ } - sn_nsdl_tx_callback(SN_NSDL_PROTOCOL_COAP, coap_message_ptr, coap_message_len, dst_addr_ptr); + if(0 == sn_nsdl_tx_callback(SN_NSDL_PROTOCOL_COAP, coap_message_ptr, coap_message_len, dst_addr_ptr)){ + status=SN_NSDL_FAILURE; + } + sn_nsdl_free(coap_message_ptr); - return status; }