yes Spada / Mbed OS programme
Revision:
17:76787f5a334f
Parent:
14:c5578b5edabe
diff -r eed9a9ba319c -r 76787f5a334f BatteryService.h
--- a/BatteryService.h	Tue Apr 16 08:25:25 2019 +0000
+++ b/BatteryService.h	Tue Apr 16 09:13:43 2019 +0000
@@ -4,6 +4,7 @@
 
 // for logging
 #include "Logger.h"
+#include "ReadNotifyGattCharacteristic.h"
 
 class BatteryService {
 public:
@@ -35,7 +36,7 @@
   BatteryLevelType_t m_batteryLevel;
   
   // characteristics belonging to the service
-  ReadOnlyGattCharacteristic<BatteryLevelType_t> m_batteryLevelCharacteristic;
+  ReadNotifyGattCharacteristic<BatteryLevelType_t> m_batteryLevelCharacteristic;
     
   // logger instance
   Logger& m_logger;