Compatible with Keewi v1

Fork of BLE_API by Bluetooth Low Energy

Revision:
99:58c47085e816
Parent:
98:d751acb2543f
Child:
100:1e80e8032c13
--- a/hw/BLEDevice.h	Thu Jul 03 09:57:05 2014 +0100
+++ b/hw/BLEDevice.h	Thu Jul 03 09:59:53 2014 +0100
@@ -201,7 +201,7 @@
     /**
      * Setup a callback for the GATT event DATA_SENT.
      */
-    void onDataSent(GattServer::EventCallback_t callback);
+    void onDataSent(GattServer::ServerEventCallback_t callback);
 
     /**
      * Setup a callback for when a characteristic has its value updated by a
@@ -415,7 +415,7 @@
 }
 
 inline void
-BLEDevice::onDataSent(GattServer::EventCallback_t callback)
+BLEDevice::onDataSent(GattServer::ServerEventCallback_t callback)
 {
     transport->getGattServer().setOnDataSent(callback);
 }