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.
Fork of nRF51822 by
Revision 39:d52a28e1fa80, committed 2014-07-08
- Comitter:
- Rohit Grover
- Date:
- Tue Jul 08 11:15:50 2014 +0100
- Parent:
- 38:dc4d0edf9bb9
- Child:
- 40:1cb3707fa798
- Commit message:
- handle BLE_GATTS_EVT_SYS_ATTR_MISSING in nRFGattServer::hwCallback()
Changed in this revision
| nRF51GattServer.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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;
}
