summaryrefslogtreecommitdiff
path: root/src/sdpd.h
diff options
context:
space:
mode:
authorInga Stotland <ingas@codeaurora.org>2010-08-04 16:00:25 -0700
committerJohan Hedberg <johan.hedberg@nokia.com>2010-08-05 13:04:37 +0300
commit9628d29ba1340b5b9699e9a2c7547ea4f68f7427 (patch)
treea5a013592da43fde15fd0d025b9c239ea3170ac0 /src/sdpd.h
parentc44bbb0d2564c749e942b63e536f13524e8b3e02 (diff)
downloadbluez-9628d29ba1340b5b9699e9a2c7547ea4f68f7427.tar.gz
Spec constants for Extended Inquiry Response field types
Diffstat (limited to 'src/sdpd.h')
-rw-r--r--src/sdpd.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/sdpd.h b/src/sdpd.h
index e93b0b66d..5bab86922 100644
--- a/src/sdpd.h
+++ b/src/sdpd.h
@@ -34,6 +34,19 @@
#define SDPDBG(fmt...)
#endif
+#define EIR_DATA_LENGTH 240
+
+#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_DEVICE_ID 0x10 /* device ID */
+
typedef struct request {
bdaddr_t device;
bdaddr_t bdaddr;