I don't know why this is happening.

Fork of BLE_API by Bluetooth Low Energy

Revision:
514:1fa338281798
Parent:
510:39612adfbf68
Child:
521:b2dae8d95c4d
--- a/services/DFUService.h	Fri Jun 19 15:52:05 2015 +0100
+++ b/services/DFUService.h	Fri Jun 19 15:52:05 2015 +0100
@@ -94,8 +94,8 @@
      * @param[in] params
      *     Information about the characterisitc being updated.
      */
-    virtual void onDataWritten(const GattWriteCallbackParams *params) {
-        if (params->handle == controlPoint.getValueHandle()) {
+    virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) {
+        if (params->charHandle == controlPoint.getValueHandle()) {
             /* At present, writing anything will do the trick--this needs to be improved. */
             if (handoverCallback) {
                 handoverCallback();