summaryrefslogtreecommitdiffstats
path: root/serial
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-06-08 17:16:28 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-06-08 17:16:28 +0000
commit03b145d3945ccce2855d7a09944c81c9badf798a (patch)
tree23f983a247db67c055f51f26ac5886ea4e56bb75 /serial
parent9d81c523214d1af3508e90e9b8ae1f2ac93890b8 (diff)
Fix up the serial UUIDs
Diffstat (limited to 'serial')
-rw-r--r--serial/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/serial/main.c b/serial/main.c
index d0d24982..3c69642c 100644
--- a/serial/main.c
+++ b/serial/main.c
@@ -40,6 +40,9 @@
#define SERIAL_INTERFACE "org.bluez.Serial"
+#define SERIAL_PORT_UUID "00001101-0000-1000-8000-00805F9B34FB"
+#define DIALUP_NET_UUID "00001103-0000-1000-8000-00805F9B34FB"
+
static DBusMessage *serial_connect(DBusConnection *conn,
DBusMessage *msg, void *user_data)
{
@@ -90,7 +93,7 @@ static void serial_remove(const char *path)
static struct btd_device_driver serial_driver = {
.name = "serial",
- .uuids = BTD_UUIDS("spp", "dun"),
+ .uuids = BTD_UUIDS(SERIAL_PORT_UUID, DIALUP_NET_UUID),
.probe = serial_probe,
.remove = serial_remove,
};