Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of BLE_API by
Diff: services/DFUService.h
- Revision:
- 245:712e0719d7e9
- Parent:
- 243:98f930d14515
- Child:
- 277:1407d2f1ce3c
--- 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();
    