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:
- 528:8d21604fe31d
- Parent:
- 277:1407d2f1ce3c
- Child:
- 567:e4b38e43de7c
--- a/services/HealthThermometerService.h Fri Jun 19 15:52:07 2015 +0100
+++ b/services/HealthThermometerService.h Fri Jun 19 15:52:07 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;