BLE_API_Tiny_BLE

Dependents:   CSSE4011_BLE_IMU

Fork of BLE_API by Bluetooth Low Energy

Files at this revision

API Documentation at this revision

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];