BLE_API_Tiny_BLE
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();