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.
Dependents: Peripheral_1_serial_copy Peripheral_1_serial 151006_1st_Scenario_normal
Fork of nRF51822 by
Diff: nRF51GattServer.cpp
- Revision:
- 39:d52a28e1fa80
- Parent:
- 38:dc4d0edf9bb9
- Child:
- 52:120bd37b9d0d
--- a/nRF51GattServer.cpp Tue Jul 08 11:15:11 2014 +0100
+++ b/nRF51GattServer.cpp Tue Jul 08 11:15:50 2014 +0100
@@ -243,6 +243,10 @@
handle_value = p_ble_evt->evt.gatts_evt.params.hvc.handle;
break;
+ case BLE_GATTS_EVT_SYS_ATTR_MISSING:
+ sd_ble_gatts_sys_attr_set(p_ble_evt->evt.gatts_evt.conn_handle, NULL, 0);
+ return;
+
default:
return;
}
