BLE mbed Endpoint network stack for mbedConnectorInterface. The stack makes use of a special BLE Socket abstraction to create socket() semantics over BLE.
Dependencies: libnsdl_m0 BLE_API Base64 nRF51822 SplitterAssembler
Diff: NSDL/nsdl_support.cpp
- Revision:
- 26:6c1ee1a58f8e
- Parent:
- 25:51cc8937022a
- Child:
- 27:bfadf9e0bbff
--- a/NSDL/nsdl_support.cpp Sun Apr 12 03:48:48 2015 +0000 +++ b/NSDL/nsdl_support.cpp Sun Apr 12 06:11:25 2015 +0000 @@ -131,10 +131,10 @@ } } 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"); + endpoint_registered = false; } else { //DBG("NSP re-registration OK\r\n");