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:
- 338:fd32ec0ebd98
- Parent:
- 277:1407d2f1ce3c
- Child:
- 510:39612adfbf68
--- 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();