I don't know why this is happening.
Fork of BLE_API by
Diff: services/DFUService.h
- Revision:
- 242:0e9201b67e2f
- Parent:
- 236:a77aefd88e78
- Child:
- 243:98f930d14515
- Child:
- 993:cac5254ec304
--- a/services/DFUService.h Tue Dec 09 07:41:43 2014 +0000 +++ b/services/DFUService.h Tue Dec 09 08:18:11 2014 +0000 @@ -32,12 +32,12 @@ /** * @class DFUService -* @breif Device Firmware Update Service. +* @brief Device Firmware Update Service. */ class DFUService { public: /** - * @breif Signature for the handover callback. The application may provide such a + * @brief Signature for the handover callback. The application may provide such a * callback when setting up the DFU service, in which case it will be * invoked before handing control over to the bootloader. */ @@ -45,7 +45,7 @@ public: /** - * @breif Adds Device Firmware Update service to an existing ble object. + * @brief Adds Device Firmware Update service to an existing ble object. * * @param[ref] _ble * BLEDevice object for the underlying controller. @@ -75,26 +75,26 @@ ble.addService(dfuService); handoverCallback = _handoverCallback; - serviceAdded = true; + serviceAdded = true; ble.onDataWritten(this, &DFUService::onDataWritten); } /** - * @breif - * @return + * @brief + * @return */ uint16_t getControlHandle(void) { return controlPoint.getValueAttribute().getHandle(); } /** - * @breif This callback allows the DFU service to receive the initial trigger to + * @brief This callback allows the DFU service to receive the initial trigger to * handover control to the bootloader; but first the application is given a * chance to clean up. * * @param[in] - * + * */ virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) { if (params->charHandle == controlPoint.getValueAttribute().getHandle()) { @@ -131,4 +131,4 @@ GattCharacteristic packet; }; -#endif /* #ifndef __BLE_DFU_SERVICE_H__*/ +#endif /* #ifndef __BLE_DFU_SERVICE_H__*/ \ No newline at end of file