Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: libnsdl_m0 BLE_API Base64 nRF51822 SplitterAssembler
Revision 23:9aeda6113295, committed 2015-04-11
- Comitter:
- ansond
- Date:
- Sat Apr 11 18:43:16 2015 +0000
- Parent:
- 22:8f6d03b2f844
- Child:
- 24:0be5b09a207e
- Commit message:
- updates to auto init register if reregistration fails...
Changed in this revision
| NSDL/nsdl_support.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/NSDL/nsdl_support.cpp Sat Apr 11 18:14:49 2015 +0000
+++ b/NSDL/nsdl_support.cpp Sat Apr 11 18:43:16 2015 +0000
@@ -131,12 +131,14 @@
}
}
else {
+ endpoint_registered = false;
endpoint_ptr = nsdl_init_register_endpoint(endpoint_ptr, (uint8_t *)null_domain, (uint8_t*)null_endpoint_name, null_ep_type, null_lifetime_ptr);
if(sn_nsdl_update_registration(endpoint_ptr) != 0) {
DBG("NSP re-registration failed\r\n");
}
else {
//DBG("NSP re-registration OK\r\n");
+ endpoint_registered = true;
}
}
nsdl_clean_register_endpoint(&endpoint_ptr);