diff options
author | Andrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl> | 2015-11-22 21:20:14 +0100 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2015-12-01 10:42:25 +0200 |
commit | 4f25dba18025b2e1af49d75174da21ab2e8d23e0 (patch) | |
tree | 0243a87a788f8e504ba94bf0c8c1f39ec1e59ff6 /monitor/l2cap.c | |
parent | 64dffbe4312a2892193ac408d691692ec16b15b5 (diff) | |
download | bluez-4f25dba18025b2e1af49d75174da21ab2e8d23e0.tar.gz |
monitor/avdtp: Add basic decoding of AVDTP signalling
< ACL Data TX: Handle 256 flags 0x00 dlen 6
Channel: 258 len 2 [PSM 25 mode 0] {chan 2}
AVDTP: Discover (0x01) Command (0x00) type 0x00 label 0 nosp 0
> ACL Data RX: Handle 256 flags 0x02 dlen 14
Channel: 66 len 10 [PSM 25 mode 0] {chan 2}
AVDTP: Discover (0x01) Response Accept (0x02) type 0x00 label 0 nosp 0
04 08 14 08 0c 08 08 08 ........
Diffstat (limited to 'monitor/l2cap.c')
-rw-r--r-- | monitor/l2cap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/monitor/l2cap.c b/monitor/l2cap.c index 79f705167..93a1b20ce 100644 --- a/monitor/l2cap.c +++ b/monitor/l2cap.c @@ -42,6 +42,7 @@ #include "keys.h" #include "sdp.h" #include "avctp.h" +#include "avdtp.h" #include "rfcomm.h" #include "bnep.h" @@ -3099,6 +3100,9 @@ static void l2cap_frame(uint16_t index, bool in, uint16_t handle, case 0x001B: avctp_packet(&frame); break; + case 0x0019: + avdtp_packet(&frame); + break; default: packet_hexdump(data, size); break; |