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: BatteryService.h
- 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;