Improve readability with getHandle inline
Fork of BLE_API by
Diff: services/HeartRateService.h
- Revision:
- 245:98f930d14515
- Parent:
- 244:0e9201b67e2f
--- a/services/HeartRateService.h Tue Dec 09 08:18:11 2014 +0000 +++ b/services/HeartRateService.h Tue Dec 09 13:15:19 2014 +0000 @@ -115,6 +115,8 @@ * This callback allows the HeartRateService to receive updates to the * controlPoint Characteristic. * + * @param[in] params + * Information about the characterisitc being updated. */ virtual void onDataWritten(const GattCharacteristicWriteCBParams *params) { if (params->charHandle == controlPoint.getValueAttribute().getHandle()) {