summaryrefslogtreecommitdiffstats
path: root/include/rfcomm.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/rfcomm.h')
-rw-r--r--include/rfcomm.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/rfcomm.h b/include/rfcomm.h
index bb79a7a2..8cb8ac47 100644
--- a/include/rfcomm.h
+++ b/include/rfcomm.h
@@ -49,6 +49,14 @@ struct sockaddr_rc {
uint8_t rc_channel;
};
+/* RFCOMM socket options */
+#define RFCOMM_LM 0x03
+#define RFCOMM_LM_MASTER 0x0001
+#define RFCOMM_LM_AUTH 0x0002
+#define RFCOMM_LM_ENCRYPT 0x0004
+#define RFCOMM_LM_TRUSTED 0x0008
+#define RFCOMM_LM_RELIABLE 0x0010
+
/* RFCOMM TTY support */
#define RFCOMM_MAX_DEV 256