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.
Diff: EnvironmentalService.h
- Revision:
- 17:76787f5a334f
- Parent:
- 16:eed9a9ba319c
- Child:
- 18:7002e66af2e5
--- a/EnvironmentalService.h Tue Apr 16 08:25:25 2019 +0000
+++ b/EnvironmentalService.h Tue Apr 16 09:13:43 2019 +0000
@@ -3,6 +3,7 @@
#include "ble/BLE.h"
// for logging
#include "Logger.h"
+#include "ReadNotifyGattCharacteristic.h"
class EnvironmentalService {
public:
@@ -41,10 +42,10 @@
PressureTrendType_t m_pressureTrend;
// characteristics belonging to the service
- ReadOnlyGattCharacteristic<PressureType_t> m_pressureCharacteristic;
- ReadOnlyGattCharacteristic<TemperatureType_t> m_temperatureCharacteristic;
- ReadOnlyGattCharacteristic<HumidityType_t> m_humidityCharacteristic;
- ReadOnlyGattCharacteristic<PressureTrendType_t> m_pressureTrendCharacteristic;
+ ReadNotifyGattCharacteristic<PressureType_t> m_pressureCharacteristic;
+ ReadNotifyGattCharacteristic<TemperatureType_t> m_temperatureCharacteristic;
+ ReadNotifyGattCharacteristic<HumidityType_t> m_humidityCharacteristic;
+ ReadNotifyGattCharacteristic<PressureTrendType_t> m_pressureTrendCharacteristic;
// logger instance
Logger& m_logger;