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.
Dependents: BLE_ANCS_SDAPI BLE_temperature BLE_HeartRate BLE_ANCS_SDAPI_IRC ... more
Diff: services/HealthThermometerService.h
- Revision:
- 671:33ec93d25695
- Parent:
- 567:e4b38e43de7c
- Child:
- 710:b2e1a2660ec2
--- a/services/HealthThermometerService.h	Fri Jun 19 15:53:01 2015 +0100
+++ b/services/HealthThermometerService.h	Fri Jun 19 15:53:01 2015 +0100
@@ -17,7 +17,7 @@
 #ifndef __BLE_HEALTH_THERMOMETER_SERVICE_H__
 #define __BLE_HEALTH_THERMOMETER_SERVICE_H__
 
-#include "BLEDevice.h"
+#include "BLE.h"
 
 /**
 * @class HealthThermometerService
@@ -51,7 +51,7 @@
      * @param[in] initialTemp  initial value in celsius
      * @param[in] _location
      */
-    HealthThermometerService(BLEDevice &_ble, float initialTemp, uint8_t _location) :
+    HealthThermometerService(BLE &_ble, float initialTemp, uint8_t _location) :
         ble(_ble),
         valueBytes(initialTemp),
         tempMeasurement(GattCharacteristic::UUID_TEMPERATURE_MEASUREMENT_CHAR, (TemperatureValueBytes *)valueBytes.getPointer(), GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY),
@@ -141,7 +141,7 @@
     };
 
 private:
-    BLEDevice                                         &ble;
+    BLE                                               &ble;
     TemperatureValueBytes                              valueBytes;
     ReadOnlyGattCharacteristic<TemperatureValueBytes>  tempMeasurement;
     ReadOnlyGattCharacteristic<uint8_t>                tempLocation;