summaryrefslogtreecommitdiffstats
path: root/include/rfcomm.h
diff options
context:
space:
mode:
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