From: Daniel Wagner <daniel.wagner@xxxxxxxxxxxx> --- 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 d47a6af..1ed90e0 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 b609054..438ba6c 100644 --- a/serial/manager.c +++ b/serial/manager.c @@ -45,6 +45,7 @@ #include <bluetooth/sdp.h> #include <bluetooth/sdp_lib.h> #include <bluetooth/rfcomm.h> +#include <bluetooth/uuid.h> #include <glib.h> #include <gdbus.h> @@ -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) -- 1.7.10.130.g36e6c -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html