High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: services/HeartRateService.h
- Revision:
- 522:6bc4662d4e30
- Parent:
- 521:b2dae8d95c4d
- Child:
- 524:6e97ab392e2a
--- a/services/HeartRateService.h Fri Jun 19 15:52:06 2015 +0100 +++ b/services/HeartRateService.h Fri Jun 19 15:52:06 2015 +0100 @@ -174,7 +174,7 @@ return 1 + ((valueBytes[FLAGS_BYTE_INDEX] & VALUE_FORMAT_FLAG) ? sizeof(uint16_t) : sizeof(uint8_t)); } -private: + private: /* First byte = 8-bit values, no extra info, Second byte = uint8_t HRM value */ /* See --> https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.heart_rate_measurement.xml */ uint8_t valueBytes[MAX_VALUE_BYTES];