Thread (15 messages) flat view 15 messages, 3 authors, 2011-08-03
STALE5488d

[PATCH BlueZ 2/6] Add Tx Power and Immediate Alert UUID

From: Claudio Takahasi <hidden>
Date: 2011-07-27 21:53:02
Subsystem: the rest · Maintainer: Linus Torvalds

Changes Proximity Monitor driver declaration adding the Tx Power and
Immediate Alert UUIDs. UUIDs are required to support Path Loss and
Find ME.
---
 proximity/manager.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/proximity/manager.c b/proximity/manager.c
index 8d0aee1..98ac59f 100644
--- a/proximity/manager.c
+++ b/proximity/manager.c
@@ -35,7 +35,9 @@
 #include "reporter.h"
 #include "manager.h"
 
-#define LINK_LOSS_UUID "00001803-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"
 
 static DBusConnection *connection = NULL;
 
@@ -51,7 +53,7 @@ static void attio_device_remove(struct btd_device *device)
 
 static struct btd_device_driver monitor_driver = {
 	.name = "Proximity GATT Driver",
-	.uuids = BTD_UUIDS(LINK_LOSS_UUID),
+	.uuids = BTD_UUIDS(IMMEDIATE_ALERT_UUID, LINK_LOSS_UUID, TX_POWER_UUID),
 	.probe = attio_device_probe,
 	.remove = attio_device_remove,
 };
-- 
1.7.6
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help