High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: services/LinkLossService.h
- Revision:
- 510:39612adfbf68
- Parent:
- 277:1407d2f1ce3c
- Child:
- 514:1fa338281798
--- a/services/LinkLossService.h Fri Jun 19 15:52:04 2015 +0100 +++ b/services/LinkLossService.h Fri Jun 19 15:52:04 2015 +0100 @@ -80,7 +80,7 @@ * @param[in] params * Information about the characterisitc being updated. */ - virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) { + virtual void onDataWritten(const GattWriteCallbackParams *params) { if (params->charHandle == alertLevelChar.getValueHandle()) { alertLevel = *reinterpret_cast<const AlertLevel_t *>(params->data); }