From 9e80406e08f01cff2804c584e6bf4f457bd6c5be Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Thu, 31 May 2012 15:43:32 +0200 Subject: [PATCH] serial: Move UUID string definition to lib --- lib/uuid.h | 2 ++ serial/manager.c | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/uuid.h b/lib/uuid.h index d47a6af21..1ed90e030 100644 --- a/lib/uuid.h +++ b/lib/uuid.h @@ -69,6 +69,8 @@ extern "C" { #define INTERMEDIATE_TEMPERATURE_UUID "00002a1e-0000-1000-8000-00805f9b34fb" #define MEASUREMENT_INTERVAL_UUID "00002a21-0000-1000-8000-00805f9b34fb" +#define RFCOMM_UUID_STR "00000003-0000-1000-8000-00805f9b34fb" + typedef struct { enum { BT_UUID_UNSPEC = 0, diff --git a/serial/manager.c b/serial/manager.c index b6090544b..438ba6cf6 100644 --- a/serial/manager.c +++ b/serial/manager.c @@ -45,6 +45,7 @@ #include #include #include +#include #include #include @@ -63,8 +64,6 @@ #include "sdpd.h" #include "glib-helper.h" -#define RFCOMM_UUID_STR "00000003-0000-1000-8000-00805F9B34FB" - static DBusConnection *connection = NULL; static int serial_probe(struct btd_device *device, const char *uuid) -- 2.47.3