aboutsummaryrefslogtreecommitdiff
path: root/ble/Bluetooth.h
diff options
context:
space:
mode:
Diffstat (limited to 'ble/Bluetooth.h')
-rw-r--r--ble/Bluetooth.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ble/Bluetooth.h b/ble/Bluetooth.h
index e47ff3e..e7b163b 100644
--- a/ble/Bluetooth.h
+++ b/ble/Bluetooth.h
@@ -149,6 +149,15 @@ protected:
virtual ~BluetoothAdapter();
};
+/**
+ * RAII support.
+ */
+class BluetoothSystem {
+public:
+ BluetoothSystem();
+ ~BluetoothSystem();
+};
+
enum AttPduType {
ERROR = 0x00,
INVALID_HANDLE = 0x01,
@@ -200,6 +209,8 @@ BluetoothAdapter &getAdapter(int hciDevice);
void shutdown();
+boost::uuids::uuid makeUuid(const boost::uuids::uuid base, uint8_t a, uint8_t b);
+
}
}