High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Revision 713:9f4251b3355c, committed 2015-06-19
- 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); } }