From: Daniel Wagner <daniel.wagner@xxxxxxxxxxxx> --- lib/uuid.h | 2 ++ sap/server.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/uuid.h b/lib/uuid.h index 86679a9..71af5ae 100644 --- a/lib/uuid.h +++ b/lib/uuid.h @@ -61,6 +61,8 @@ extern "C" { #define LINK_LOSS_UUID "00001803-0000-1000-8000-00805f9b34fb" #define TX_POWER_UUID "00001804-0000-1000-8000-00805f9b34fb" +#define SAP_UUID "0000112D-0000-1000-8000-00805f9b34fb" + typedef struct { enum { BT_UUID_UNSPEC = 0, diff --git a/sap/server.c b/sap/server.c index c83e68a..f5d19c4 100644 --- a/sap/server.c +++ b/sap/server.c @@ -32,6 +32,7 @@ #include <glib.h> #include <bluetooth/sdp.h> #include <bluetooth/sdp_lib.h> +#include <bluetooth/uuid.h> #include "adapter.h" #include "btio.h" @@ -43,7 +44,6 @@ #include "server.h" #define SAP_SERVER_INTERFACE "org.bluez.SimAccess" -#define SAP_UUID "0000112D-0000-1000-8000-00805F9B34FB" #define SAP_SERVER_CHANNEL 8 #define PADDING4(x) ((4 - ((x) & 0x03)) & 0x03) -- 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