High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
Diff: services/HeartRateService.h
- Revision:
- 665:cfcc89fd5969
- Parent:
- 664:1624b24837d0
- Child:
- 667:875aecb84719
--- a/services/HeartRateService.h Fri Jun 19 15:53:00 2015 +0100 +++ b/services/HeartRateService.h Fri Jun 19 15:53:00 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];