summaryrefslogtreecommitdiffstats
path: root/include/rfcomm.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2004-12-25 17:35:34 +0000
committerMarcel Holtmann <marcel@holtmann.org>2004-12-25 17:35:34 +0000
commit8661484ddc5d79689c6a3d1dd41102ca9e89a8cf (patch)
treee0a88507500e44a0ecfe1f574c746dd598753dc5 /include/rfcomm.h
parent43e9e65bd31bb549babf77b33587243b1824b6c5 (diff)
Update connection information definitions
Diffstat (limited to 'include/rfcomm.h')
-rw-r--r--include/rfcomm.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/rfcomm.h b/include/rfcomm.h
index 02775d50..d4cfc056 100644
--- a/include/rfcomm.h
+++ b/include/rfcomm.h
@@ -50,6 +50,12 @@ struct sockaddr_rc {
};
/* RFCOMM socket options */
+#define RFCOMM_CONNINFO 0x02
+struct rfcomm_conninfo {
+ uint16_t hci_handle;
+ uint8_t dev_class[3];
+};
+
#define RFCOMM_LM 0x03
#define RFCOMM_LM_MASTER 0x0001
#define RFCOMM_LM_AUTH 0x0002