network: Move UUID string definition to lib

This commit is contained in:
Daniel Wagner 2012-05-31 15:43:27 +02:00 committed by Johan Hedberg
parent b968b12927
commit b0dcec9c79
5 changed files with 8 additions and 5 deletions

View File

@ -48,6 +48,11 @@ extern "C" {
#define AVRCP_REMOTE_UUID "0000110e-0000-1000-8000-00805f9b34fb"
#define AVRCP_TARGET_UUID "0000110c-0000-1000-8000-00805f9b34fb"
#define PANU_UUID "00001115-0000-1000-8000-00805f9b34fb"
#define NAP_UUID "00001116-0000-1000-8000-00805f9b34fb"
#define GN_UUID "00001117-0000-1000-8000-00805f9b34fb"
#define BNEP_SVC_UUID "0000000f-0000-1000-8000-00805f9b34fb"
typedef struct {
enum {
BT_UUID_UNSPEC = 0,

View File

@ -39,6 +39,7 @@
#include <bluetooth/bluetooth.h>
#include <bluetooth/l2cap.h>
#include <bluetooth/bnep.h>
#include <bluetooth/uuid.h>
#include <glib.h>

View File

@ -21,11 +21,6 @@
*
*/
#define PANU_UUID "00001115-0000-1000-8000-00805f9b34fb"
#define NAP_UUID "00001116-0000-1000-8000-00805f9b34fb"
#define GN_UUID "00001117-0000-1000-8000-00805f9b34fb"
#define BNEP_SVC_UUID "0000000f-0000-1000-8000-00805f9b34fb"
int bnep_init(void);
int bnep_cleanup(void);

View File

@ -28,6 +28,7 @@
#include <bluetooth/bluetooth.h>
#include <bluetooth/bnep.h>
#include <bluetooth/sdp.h>
#include <bluetooth/uuid.h>
#include <glib.h>
#include <gdbus.h>

View File

@ -34,6 +34,7 @@
#include <bluetooth/bnep.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
#include <bluetooth/uuid.h>
#include <netinet/in.h>
#include <glib.h>