aboutsummaryrefslogtreecommitdiff
path: root/apps/SoilMoisture.h
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2018-11-19 23:13:50 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2018-11-19 23:13:50 +0100
commite8aa2eadf309fbc0c0e1418c6bee482e505fa09b (patch)
treee93292292834b8d8959301cd8d02b27090e7e0ca /apps/SoilMoisture.h
parentd6f16958eaa966332b911eb9257b8524c2efd772 (diff)
downloadble-toys-e8aa2eadf309fbc0c0e1418c6bee482e505fa09b.tar.gz
ble-toys-e8aa2eadf309fbc0c0e1418c6bee482e505fa09b.tar.bz2
ble-toys-e8aa2eadf309fbc0c0e1418c6bee482e505fa09b.tar.xz
ble-toys-e8aa2eadf309fbc0c0e1418c6bee482e505fa09b.zip
ble-read-characteristic: working READ mode, starting on NOTIFY.
Diffstat (limited to 'apps/SoilMoisture.h')
-rw-r--r--apps/SoilMoisture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/SoilMoisture.h b/apps/SoilMoisture.h
index 3bfd0d8..4e6ae17 100644
--- a/apps/SoilMoisture.h
+++ b/apps/SoilMoisture.h
@@ -2,14 +2,14 @@
#include <ble/Bluetooth.h>
#include <boost/uuid/uuid.hpp>
-#include <experimental/optional>
+#include <optional>
namespace trygvis {
namespace sensor {
using namespace trygvis::bluetooth;
template<typename T>
-using o = std::experimental::optional<T>;
+using o = std::optional<T>;
enum class sm_cmd_code : uint8_t {
SM_CMD_GET_SENSOR_COUNT = 1,