Minor temporary patch to allow DFU packet callback

Fork of BLE_API by Bluetooth Low Energy

Revision:
243:98f930d14515
Parent:
242:0e9201b67e2f
Child:
245:712e0719d7e9
--- a/services/DFUService.h	Tue Dec 09 08:18:11 2014 +0000
+++ b/services/DFUService.h	Tue Dec 09 13:15:19 2014 +0000
@@ -81,11 +81,10 @@
     }
 
     /**
-    * @brief
-    * @return
+    * @brief get the handle for the value attribute of the control characteristic.
     */
-    uint16_t getControlHandle(void) {
-        return controlPoint.getValueAttribute().getHandle();
+    uint16_t getControlHandle(void) const {
+        return controlPoint.getValueHandle();
     }
 
     /**
@@ -93,8 +92,8 @@
      * handover control to the bootloader; but first the application is given a
      * chance to clean up.
      *
-     * @param[in]
-     *
+     * @param[in] params
+     *     Information about the characterisitc being updated.
      */
     virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) {
         if (params->charHandle == controlPoint.getValueAttribute().getHandle()) {