OSDN Git Service

core: Move EIR flags definitions to eir.h
authorSzymon Janc <szymon.janc@tieto.com>
Mon, 24 Mar 2014 12:36:42 +0000 (13:36 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Mon, 24 Mar 2014 12:42:50 +0000 (14:42 +0200)
src/adapter.c
src/eir.h

index 88d94b4..e396a3d 100644 (file)
 
 #define ADAPTER_INTERFACE      "org.bluez.Adapter1"
 
-/* Flags Descriptions */
-#define EIR_LIM_DISC                0x01 /* LE Limited Discoverable Mode */
-#define EIR_GEN_DISC                0x02 /* LE General Discoverable Mode */
-#define EIR_BREDR_UNSUP             0x04 /* BR/EDR Not Supported */
-#define EIR_SIM_CONTROLLER          0x08 /* Simultaneous LE and BR/EDR to Same
-                                           Device Capable (Controller) */
-#define EIR_SIM_HOST                0x10 /* Simultaneous LE and BR/EDR to Same
-                                           Device Capable (Host) */
-
 #define MODE_OFF               0x00
 #define MODE_CONNECTABLE       0x01
 #define MODE_DISCOVERABLE      0x02
index 9e53983..e486fa2 100644 (file)
--- a/src/eir.h
+++ b/src/eir.h
 #define EIR_DEVICE_ID               0x10  /* device ID */
 #define EIR_GAP_APPEARANCE          0x19  /* GAP appearance */
 
+/* Flags Descriptions */
+#define EIR_LIM_DISC                0x01 /* LE Limited Discoverable Mode */
+#define EIR_GEN_DISC                0x02 /* LE General Discoverable Mode */
+#define EIR_BREDR_UNSUP             0x04 /* BR/EDR Not Supported */
+#define EIR_CONTROLLER              0x08 /* Simultaneous LE and BR/EDR to Same
+                                           Device Capable (Controller) */
+#define EIR_SIM_HOST                0x10 /* Simultaneous LE and BR/EDR to Same
+                                           Device Capable (Host) */
+
 struct eir_data {
        GSList *services;
        unsigned int flags;