aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2012-05-31 15:43:35 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-06-02 09:07:50 +0800
commit5c3c3fef23b5115ca663fbfe3ae00395c5c418db (patch)
treef638876fd29a29d1609dab110a6cdd45d1c70f29 /plugins
parent3af0412b427f618588a9734d7c7c088b36a2f114 (diff)
downloadbluez-5c3c3fef23b5115ca663fbfe3ae00395c5c418db.tar.gz
bluez-5c3c3fef23b5115ca663fbfe3ae00395c5c418db.tar.xz
bluez-5c3c3fef23b5115ca663fbfe3ae00395c5c418db.zip
pnat: Move UUID string definition to lib
Diffstat (limited to 'plugins')
-rw-r--r--plugins/pnat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/pnat.c b/plugins/pnat.c
index 2d73910a..3c611a93 100644
--- a/plugins/pnat.c
+++ b/plugins/pnat.c
@@ -39,6 +39,7 @@
#include <bluetooth/rfcomm.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
+#include <bluetooth/uuid.h>
#include <glib.h>
@@ -54,7 +55,6 @@
#define PNATD "/usr/bin/phonet-at"
#define DUN_CHANNEL 1
-#define DUN_UUID "00001103-0000-1000-8000-00805F9B34FB"
#define TTY_TIMEOUT 100
#define TTY_TRIES 10
@@ -347,7 +347,7 @@ static void confirm_cb(GIOChannel *io, gpointer user_data)
return;
}
- if (btd_request_authorization(&server->bda, &client->bda, DUN_UUID,
+ if (btd_request_authorization(&server->bda, &client->bda, DUN_GW_UUID,
auth_cb, user_data) < 0) {
error("Requesting DUN authorization failed");
return;