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/avdtp.h | |
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/avdtp.h')
-rw-r--r-- | monitor/avdtp.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/monitor/avdtp.h b/monitor/avdtp.h new file mode 100644 index 000000000..f77d82ee2 --- /dev/null +++ b/monitor/avdtp.h @@ -0,0 +1,24 @@ +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2015 Andrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl> + * + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +void avdtp_packet(const struct l2cap_frame *frame); |