aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrei Emeltchenko <andrei.emeltchenko@intel.com>2011-10-20 11:30:12 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2011-10-21 11:17:47 +0300
commite838b6d470a6f7090619ace264f884a71cf292c1 (patch)
treedbbde35643d3fbc4c1c8b64f14b00ab544840699
parent4e3d7a4b9cd0200ca738d71f5f1063b5c5264e58 (diff)
downloadbluez-hcidump-e838b6d470a6f7090619ace264f884a71cf292c1.tar.gz
bluez-hcidump-e838b6d470a6f7090619ace264f884a71cf292c1.tar.xz
bluez-hcidump-e838b6d470a6f7090619ace264f884a71cf292c1.zip
Add fixed channel definitions
-rw-r--r--lib/l2cap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/l2cap.h b/lib/l2cap.h
index 47b3dc3..3880551 100644
--- a/lib/l2cap.h
+++ b/lib/l2cap.h
@@ -139,6 +139,11 @@ struct l2cap_conninfo {
#define L2CAP_SDULEN_SIZE 2
+/* L2CAP fixed channels */
+#define L2CAP_FC_L2CAP 0x02
+#define L2CAP_FC_CONNLESS 0x04
+#define L2CAP_FC_A2MP 0x08
+
/* L2CAP structures */
typedef struct {
uint16_t len;