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.
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Diff: services/HeartRateService.h
- Revision:
- 510:39612adfbf68
- Parent:
- 338:fd32ec0ebd98
- Child:
- 514:1fa338281798
diff -r fc2a15248577 -r 39612adfbf68 services/HeartRateService.h
--- a/services/HeartRateService.h Fri Jun 19 15:52:04 2015 +0100
+++ b/services/HeartRateService.h Fri Jun 19 15:52:04 2015 +0100
@@ -114,7 +114,7 @@
* @param[in] params
* Information about the characterisitc being updated.
*/
- virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) {
+ virtual void onDataWritten(const GattWriteCallbackParams *params) {
if (params->charHandle == controlPoint.getValueAttribute().getHandle()) {
/* Do something here if the new value is 1; else you can override this method by
* extending this class.