I don't know why this is happening.
Fork of BLE_API by
Diff: services/DFUService.h
- Revision:
- 245:712e0719d7e9
- Parent:
- 243:98f930d14515
- Child:
- 277:1407d2f1ce3c
diff -r aa639ef2f290 -r 712e0719d7e9 services/DFUService.h --- a/services/DFUService.h Thu Dec 11 11:52:32 2014 +0000 +++ b/services/DFUService.h Thu Dec 11 11:52:32 2014 +0000 @@ -96,7 +96,7 @@ * Information about the characterisitc being updated. */ virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) { - if (params->charHandle == controlPoint.getValueAttribute().getHandle()) { + if (params->charHandle == controlPoint.getValueHandle()) { /* At present, writing anything will do the trick--this needs to be improved. */ if (handoverCallback) { handoverCallback();