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.
Fork of BLE_API by
Revision 408:d383315df10b, committed 2015-06-10
- Comitter:
- flywind
- Date:
- Wed Jun 10 09:43:26 2015 +0000
- Parent:
- 341:8a104d9d80c1
- Commit message:
- CSSE4011 BLE IMU Project
Changed in this revision
services/HealthThermometerService.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/services/HealthThermometerService.h Wed Apr 15 09:05:11 2015 +0100 +++ b/services/HealthThermometerService.h Wed Jun 10 09:43:26 2015 +0000 @@ -26,7 +26,8 @@ * Temperature Measurement: https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.temperature_measurement.xml <br> * Temperature Type: https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.temperature_type.xml */ -class HealthThermometerService { +class HealthThermometerService +{ public: /** * @enum Sensor Location @@ -121,7 +122,7 @@ return bytes; } -private: + private: /** * @brief A very quick conversion between a float temperature and 11073-20601 FLOAT-Type. * @param temperature The temperature as a float. @@ -134,7 +135,7 @@ return (((uint32_t)exponent) << 24) | mantissa; } -private: + private: /* First byte = 8-bit flags, Second field is a float holding the temperature value. */ /* See --> https://developer.bluetooth.org/gatt/characteristics/Pages/CharacteristicViewer.aspx?u=org.bluetooth.characteristic.temperature_measurement.xml */ uint8_t bytes[SIZEOF_VALUE_BYTES];