summaryrefslogtreecommitdiff
path: root/src/eir.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2012-01-17 22:02:03 +0200
committerJohan Hedberg <johan.hedberg@intel.com>2012-01-17 22:04:17 +0200
commitc8b8c77b31ec3581aec19017392693ecc36324a5 (patch)
treebbe36853313b970f38ed53f98b828348ca915346 /src/eir.h
parent20b8449c026cc49f03c20d631f504e8a15eb0e74 (diff)
downloadbluez-c8b8c77b31ec3581aec19017392693ecc36324a5.tar.gz
eir: Move EIR data type defines to eir.h
Diffstat (limited to 'src/eir.h')
-rw-r--r--src/eir.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/eir.h b/src/eir.h
index 1f11a7a75..36e650d38 100644
--- a/src/eir.h
+++ b/src/eir.h
@@ -22,6 +22,19 @@
*
*/
+#define EIR_FLAGS 0x01 /* flags */
+#define EIR_UUID16_SOME 0x02 /* 16-bit UUID, more available */
+#define EIR_UUID16_ALL 0x03 /* 16-bit UUID, all listed */
+#define EIR_UUID32_SOME 0x04 /* 32-bit UUID, more available */
+#define EIR_UUID32_ALL 0x05 /* 32-bit UUID, all listed */
+#define EIR_UUID128_SOME 0x06 /* 128-bit UUID, more available */
+#define EIR_UUID128_ALL 0x07 /* 128-bit UUID, all listed */
+#define EIR_NAME_SHORT 0x08 /* shortened local name */
+#define EIR_NAME_COMPLETE 0x09 /* complete local name */
+#define EIR_TX_POWER 0x0A /* transmit power level */
+#define EIR_CLASS_OF_DEV 0x0D /* Class of Device */
+#define EIR_DEVICE_ID 0x10 /* device ID */
+
struct uuid_info {
uuid_t uuid;
uint8_t svc_hint;