shunpei kataoka / nRF51822

Fork of nRF51822 by Shuta Nakamae

Files at this revision

API Documentation at this revision

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);