High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: services/DFUService.h
- Revision:
- 527:493185cebc03
- Parent:
- 526:caa67c3187a0
- Child:
- 528:8d21604fe31d
diff -r caa67c3187a0 -r 493185cebc03 services/DFUService.h --- a/services/DFUService.h Fri Jun 19 15:52:06 2015 +0100 +++ b/services/DFUService.h Fri Jun 19 15:52:07 2015 +0100 @@ -94,8 +94,8 @@ * @param[in] params * Information about the characterisitc being updated. */ - virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) { - if (params->charHandle == controlPoint.getValueHandle()) { + virtual void onDataWritten(const GattWriteCallbackParams *params) { + if (params->handle == controlPoint.getValueHandle()) { /* At present, writing anything will do the trick--this needs to be improved. */ if (handoverCallback) { handoverCallback();