aboutsummaryrefslogtreecommitdiff
path: root/ble/Bluetooth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ble/Bluetooth.cpp')
-rw-r--r--ble/Bluetooth.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/ble/Bluetooth.cpp b/ble/Bluetooth.cpp
index b135282..4ceb3b6 100644
--- a/ble/Bluetooth.cpp
+++ b/ble/Bluetooth.cpp
@@ -165,6 +165,13 @@ BluetoothAdapter::BluetoothAdapter() {
BluetoothAdapter::~BluetoothAdapter() {
}
+BluetoothSystem::BluetoothSystem() {
+}
+
+BluetoothSystem::~BluetoothSystem() {
+ shutdown();
+}
+
/*
map<int, LinuxBluetoothAdapter *> adapters;
@@ -189,5 +196,12 @@ void shutdown() {
shutdownImpl();
}
+uuid_t makeUuid(const uuid_t base, uint8_t a, uint8_t b) {
+ uuid_t copy = base;
+ copy.data[2] = a;
+ copy.data[3] = b;
+ return copy;
+}
+
}
};