BLE demo for the Cycling Power service.
Dependencies: BLE_API mbed nRF51822
Revision 1:e2e4def8a6bb, committed 2016-03-08
- Comitter:
- p3miya
- Date:
- Tue Mar 08 12:11:47 2016 +0000
- Parent:
- 0:d9d7edb1ddfc
- Commit message:
- Properties of the Cycling Power Measurement characteristic have been fixed.
Changed in this revision
CyclingPowerService.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r d9d7edb1ddfc -r e2e4def8a6bb CyclingPowerService.h --- a/CyclingPowerService.h Sat Feb 27 12:27:48 2016 +0000 +++ b/CyclingPowerService.h Tue Mar 08 12:11:47 2016 +0000 @@ -124,7 +124,7 @@ ble(_ble), cyclingPowerMeasurement(UUID_CYCLING_POWER_MEASUREMENT_CHAR, measureData, MAX_MEASURE_BYTES, MAX_MEASURE_BYTES, - GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ | GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY), + GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY), cyclingPowerControlPoint(UUID_CYCLING_POWER_CONTROL_POINT_CHAR, controlData, MAX_CONTROL_BYTES, MAX_CONTROL_BYTES, GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_WRITE | GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_INDICATE),