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: microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter
Fork of nRF51822 by
Diff: nRF51GattServer.h
- Revision:
- 72:46db8d5c65d1
- Parent:
- 71:f11b3e313843
- Child:
- 73:3d51439b8ce0
--- a/nRF51GattServer.h Fri Nov 21 10:00:40 2014 +0000
+++ b/nRF51GattServer.h Fri Nov 21 10:00:40 2014 +0000
@@ -49,12 +49,9 @@
GattAttribute *p_descriptors[BLE_TOTAL_DESCRIPTORS];
uint16_t nrfDescriptorHandles[BLE_TOTAL_DESCRIPTORS];
- nRF51GattServer() {
- serviceCount = 0;
- characteristicCount = 0;
- descriptorCount = 0;
- };
-
+ nRF51GattServer() : GattServer(), p_characteristics(), nrfCharacteristicHandles(), p_descriptors(), descriptorCount(0), nrfDescriptorHandles() {
+ /* empty */
+ }
private:
nRF51GattServer(const nRF51GattServer &);
