Diff between 2eda66eb475e356a6cb852db3cc60e30a860b068 and 5a82646b307c3dd0a5e19572e6deb1605b75bdc5

Changed Files

File Additions Deletions Status
lib/uuid.h +5 -0 modified
proximity/manager.c +0 -4 modified
proximity/reporter.c +0 -2 modified

Full Patch

diff --git a/lib/uuid.h b/lib/uuid.h
index 713075e..86679a9 100644
--- a/lib/uuid.h
+++ b/lib/uuid.h
@@ -56,6 +56,11 @@ extern "C" {
 #define PNPID_UUID		"00002a50-0000-1000-8000-00805f9b34fb"
 #define DEVICE_INFORMATION_UUID	"0000180a-0000-1000-8000-00805f9b34fb"
 
+#define GATT_UUID		"00001801-0000-1000-8000-00805f9b34fb"
+#define IMMEDIATE_ALERT_UUID	"00001802-0000-1000-8000-00805f9b34fb"
+#define LINK_LOSS_UUID		"00001803-0000-1000-8000-00805f9b34fb"
+#define TX_POWER_UUID		"00001804-0000-1000-8000-00805f9b34fb"
+
 typedef struct {
 	enum {
 		BT_UUID_UNSPEC = 0,
diff --git a/proximity/manager.c b/proximity/manager.c
index 286f7e3..f2e49a6 100644
--- a/proximity/manager.c
+++ b/proximity/manager.c
@@ -39,10 +39,6 @@
 #include "reporter.h"
 #include "manager.h"
 
-#define IMMEDIATE_ALERT_UUID	"00001802-0000-1000-8000-00805f9b34fb"
-#define LINK_LOSS_UUID		"00001803-0000-1000-8000-00805f9b34fb"
-#define TX_POWER_UUID		"00001804-0000-1000-8000-00805f9b34fb"
-
 static DBusConnection *connection = NULL;
 
 static struct enabled enabled  = {
diff --git a/proximity/reporter.c b/proximity/reporter.c
index 20779a8..607de2b 100644
--- a/proximity/reporter.c
+++ b/proximity/reporter.c
@@ -51,8 +51,6 @@
 
 #define BLUEZ_SERVICE "org.bluez"
 
-#define GATT_UUID     "00001801-0000-1000-8000-00805f9b34fb"
-
 struct reporter_adapter {
 	DBusConnection *conn;
 	struct btd_adapter *adapter;