I don't know why this is happening.
Fork of BLE_API by
Diff: services/HealthThermometerService.h
- Revision:
- 528:8d21604fe31d
- Parent:
- 277:1407d2f1ce3c
- Child:
- 567:e4b38e43de7c
diff -r 493185cebc03 -r 8d21604fe31d services/HealthThermometerService.h --- 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;