Oscar Ariza / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Revision:
660:5fc41956cbd0
Parent:
656:4dce7c6d2eb3
Child:
665:1624b24837d0
--- a/services/LinkLossService.h	Fri Jun 19 15:52:59 2015 +0100
+++ b/services/LinkLossService.h	Fri Jun 19 15:53:00 2015 +0100
@@ -80,7 +80,7 @@
      * @param[in] params
      *     Information about the characterisitc being updated.
      */
-    virtual void onDataWritten(const GattWriteCallbackParams *params) {
+    virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) {
         if (params->charHandle == alertLevelChar.getValueHandle()) {
             alertLevel = *reinterpret_cast<const AlertLevel_t *>(params->data);
         }