Minor temporary patch to allow DFU packet callback

Fork of BLE_API by Bluetooth Low Energy

Revision:
376:47ff130c1d74
Parent:
342:152bd9c825d6
Child:
377:5044c245e996
--- a/public/GattServer.h	Wed May 13 08:51:06 2015 +0100
+++ b/public/GattServer.h	Wed May 13 08:51:06 2015 +0100
@@ -27,7 +27,7 @@
 class GattServer {
 public:
     /* Event callback handlers. */
-    typedef void (*EventCallback_t)(uint16_t attributeHandle);
+    typedef void (*EventCallback_t)(GattAttribute::Handle_t attributeHandle);
     typedef void (*ServerEventCallback_t)(void);                    /**< independent of any particular attribute */
 
 protected:
@@ -110,7 +110,7 @@
         }
     }
 
-    void handleEvent(GattServerEvents::gattEvent_e type, uint16_t charHandle) {
+    void handleEvent(GattServerEvents::gattEvent_e type, GattAttribute::Handle_t charHandle) {
         switch (type) {
             case GattServerEvents::GATT_EVENT_UPDATES_ENABLED:
                 if (onUpdatesEnabled) {