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 359:64918eb1ead2, committed 2015-06-19
- Comitter:
- rgrover1
- Date:
- Fri Jun 19 15:55:37 2015 +0100
- Parent:
- 358:0feab33fde20
- Child:
- 360:7c68c8d67e1f
- Commit message:
- Synchronized with git rev 2453a091
Author: Rohit Grover
drop initializeGattDatabase()
Changed in this revision
| nRF51GattServer.cpp | Show annotated file Show diff for this revision Revisions of this file |
| nRF51GattServer.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/nRF51GattServer.cpp Fri Jun 19 15:55:37 2015 +0100
+++ b/nRF51GattServer.cpp Fri Jun 19 15:55:37 2015 +0100
@@ -418,11 +418,4 @@
}
}
}
-}
-
-ble_error_t
-nRF51GattServer::initializeGATTDatabase(void)
-{
- /* Empty. Services are populated in the GattDatabase through addService(). */
- return BLE_ERROR_NONE;
}
\ No newline at end of file
--- a/nRF51GattServer.h Fri Jun 19 15:55:37 2015 +0100
+++ b/nRF51GattServer.h Fri Jun 19 15:55:37 2015 +0100
@@ -35,7 +35,6 @@
virtual ble_error_t read(Gap::Handle_t connectionHandle, GattAttribute::Handle_t attributeHandle, uint8_t buffer[], uint16_t *lengthP);
virtual ble_error_t write(GattAttribute::Handle_t, const uint8_t[], uint16_t, bool localOnly = false);
virtual ble_error_t write(Gap::Handle_t connectionHandle, GattAttribute::Handle_t, const uint8_t[], uint16_t, bool localOnly = false);
- virtual ble_error_t initializeGATTDatabase(void);
/* nRF51 Functions */
void eventCallback(void);
