High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: services/HeartRateService.h
- Revision:
- 659:5fc41956cbd0
- Parent:
- 655:4dce7c6d2eb3
- Child:
- 663:73177d7c6e75
--- a/services/HeartRateService.h Fri Jun 19 15:52:59 2015 +0100 +++ b/services/HeartRateService.h Fri Jun 19 15:53:00 2015 +0100 @@ -114,7 +114,7 @@ * @param[in] params * Information about the characterisitc being updated. */ - virtual void onDataWritten(const GattWriteCallbackParams *params) { + virtual void onDataWritten(const GattCharacteristicWriteCBParams *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.