summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrzej Kaczmarek <andrzej.kaczmarek@codecoup.pl>2015-11-22 21:20:26 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2015-12-01 10:42:28 +0200
commit59c7398a98c738ead7a4dd48d7783bdeb75ff171 (patch)
tree9c969e43856a67ece213d8e5d5c62192b16b3a6b
parent5fe0da7506461ecb3b7589d9151d90fd309a2c3f (diff)
downloadbluez-59c7398a98c738ead7a4dd48d7783bdeb75ff171.tar.gz
monitor/avdtp: Decode AVDTP_GET_ALL_CAPABILITIES
< ACL Data TX: Handle 256 flags 0x00 dlen 7 Channel: 832 len 3 [PSM 25 mode 0] {chan 0} AVDTP: Get All Capabilities (0x0c) Command (0x00) type 0x00 label 1 nosp 0 ACP SEID: 1 > ACL Data RX: Handle 256 flags 0x02 dlen 20 Channel: 64 len 16 [PSM 25 mode 0] {chan 0} AVDTP: Get All Capabilities (0x0c) Response Accept (0x02) type 0x00 label 1 nosp 0 Service Category: Media Transport (0x01) Service Category: Media Codec (0x07) 00 00 3f ff 02 35 ..?..5 Service Category: Content Protection (0x04) 02 00 ..
-rw-r--r--monitor/avdtp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor/avdtp.c b/monitor/avdtp.c
index 28ddb2072..4867c0be5 100644
--- a/monitor/avdtp.c
+++ b/monitor/avdtp.c
@@ -602,6 +602,7 @@ static bool avdtp_signalling_packet(struct avdtp_frame *avdtp_frame)
case AVDTP_DISCOVER:
return avdtp_discover(avdtp_frame);
case AVDTP_GET_CAPABILITIES:
+ case AVDTP_GET_ALL_CAPABILITIES:
return avdtp_get_capabilities(avdtp_frame);
case AVDTP_SET_CONFIGURATION:
return avdtp_set_configuration(avdtp_frame);