High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

Comitter:
rgrover1
Date:
Fri Jun 19 23:45:12 2015 +0000
Parent:
712:b04b5db36865
Child:
714:a6130aaa0fd9
Commit message:
updating to the latest of the underlying libraries.

Changed in this revision

ble/services/LinkLossService.h Show annotated file Show diff for this revision Revisions of this file
--- a/ble/services/LinkLossService.h	Fri Jun 19 15:53:29 2015 +0100
+++ b/ble/services/LinkLossService.h	Fri Jun 19 23:45:12 2015 +0000
@@ -81,7 +81,7 @@
      *     Information about the characterisitc being updated.
      */
     virtual void onDataWritten(const GattWriteCallbackParams *params) {
-        if (params->charHandle == alertLevelChar.getValueHandle()) {
+        if (params->handle == alertLevelChar.getValueHandle()) {
             alertLevel = *reinterpret_cast<const AlertLevel_t *>(params->data);
         }
     }