aboutsummaryrefslogtreecommitdiff
path: root/include/ble
diff options
context:
space:
mode:
Diffstat (limited to 'include/ble')
-rw-r--r--include/ble/misc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/ble/misc.h b/include/ble/misc.h
index 70a19f5..563d039 100644
--- a/include/ble/misc.h
+++ b/include/ble/misc.h
@@ -133,6 +133,10 @@ public:
bool extendedProperties() {
return static_cast<bool>(value & 0x80);
}
+
+ explicit operator uint16_t() {
+ return value;
+ }
};
} // namespace bluetooth