diff options
Diffstat (limited to 'include/ble/misc.h')
-rw-r--r-- | include/ble/misc.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/ble/misc.h b/include/ble/misc.h index 4ba3309..2508d8e 100644 --- a/include/ble/misc.h +++ b/include/ble/misc.h @@ -1,6 +1,6 @@ #pragma once -#include <experimental/optional> +#include <optional> #include <cstring> #include <cctype> @@ -10,7 +10,7 @@ namespace trygvis { namespace bluetooth { template<typename T> -using o = std::experimental::optional<T>; +using o = std::optional<T>; class BluetoothAdapter; class BluetoothDevice; @@ -86,6 +86,8 @@ const ShortUuid PRIMARY_SERVICE{0x2800}; const ShortUuid SECONDARY_SERVICE{0x2801}; const ShortUuid CHARACTERISTIC{0x2803}; +const ShortUuid CLIENT_CHARACTERISTIC_CONFIG{0x2902}; + const ShortUuid TemperatureMeasurement{0x2A1C}; } |