aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@intel.com>2011-06-07 10:23:28 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2011-06-07 10:23:28 +0300
commit7f4b9eb253bfb52164a6ae0efefdcb041f71fa2f (patch)
treee1b2bb95be2382cd3e073cd421ee8661aa323d0e
parent4d72d341a6e88fbbaedfa66d4f786f8304d46bbd (diff)
downloadbluez-hcidump-7f4b9eb253bfb52164a6ae0efefdcb041f71fa2f.tar.gz
bluez-hcidump-7f4b9eb253bfb52164a6ae0efefdcb041f71fa2f.tar.xz
bluez-hcidump-7f4b9eb253bfb52164a6ae0efefdcb041f71fa2f.zip
Add ATT parsing for the ATT fixed CID
-rw-r--r--parser/l2cap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/parser/l2cap.c b/parser/l2cap.c
index 673c6b5..bc41a53 100644
--- a/parser/l2cap.c
+++ b/parser/l2cap.c
@@ -803,6 +803,11 @@ static void l2cap_parse(int level, struct frame *frm)
p_indent(level, frm);
printf("L2CAP(c): len %d psm %d\n", dlen, psm);
raw_dump(level, frm);
+ } else if (cid == 0x04) {
+ if (!p_filter(FILT_ATT))
+ att_dump(level, frm);
+ else
+ raw_dump(level + 1, frm);
} else {
/* Connection oriented channel */