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.
Fork of BLE_API by
Revision 338:fd32ec0ebd98, committed 2015-04-15
- Comitter:
- rgrover1
- Date:
- Wed Apr 15 09:05:11 2015 +0100
- Parent:
- 337:e7c2eb38f5cc
- Child:
- 339:1a56af0b1d71
- Commit message:
- Synchronized with git rev 59d5ed95
Author: Rohit Grover
HeartRateService: allow READ for the heart-rate-measurement characteristic.
Changed in this revision
| services/HeartRateService.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/services/HeartRateService.h Wed Apr 15 09:05:11 2015 +0100
+++ b/services/HeartRateService.h Wed Apr 15 09:05:11 2015 +0100
@@ -58,7 +58,7 @@
valueBytes(hrmCounter),
hrmRate(GattCharacteristic::UUID_HEART_RATE_MEASUREMENT_CHAR, valueBytes.getPointer(),
valueBytes.getNumValueBytes(), HeartRateValueBytes::MAX_VALUE_BYTES,
- GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY),
+ GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ | GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY),
hrmLocation(GattCharacteristic::UUID_BODY_SENSOR_LOCATION_CHAR, &location),
controlPoint(GattCharacteristic::UUID_HEART_RATE_CONTROL_POINT_CHAR, &controlPointValue) {
setupService();
