From 71486d5b778933a4a8c1774e45e9f973badb38e7 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Mon, 25 Nov 2013 12:20:16 +0200 Subject: [PATCH] unit/AVDTP: Add /TP/SIG/SMG/BV-22-C test Verify that the IUT (ACP) is able to accept an AVDTP_SUSPEND_CMD, after the streaming procedure has been started, by reporting the suspension and replying the returned confirmation. --- unit/test-avdtp.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c index 804fdf510..88c2b0145 100644 --- a/unit/test-avdtp.c +++ b/unit/test-avdtp.c @@ -569,6 +569,21 @@ int main(int argc, char *argv[]) raw_pdu(0xd0, 0x07, 0x04), raw_pdu(0xd2, 0x07), raw_pdu(0xe0, 0x09, 0x04)); + define_test("/TP/SIG/SMG/BV-22-C", test_server, + raw_pdu(0x00, 0x01), + raw_pdu(0x02, 0x01, 0x04, 0x00), + raw_pdu(0x10, 0x02, 0x04), + raw_pdu(0x12, 0x02, 0x01, 0x00, 0x07, 0x06, 0x00, 0x00, + 0xff, 0xff, 0x02, 0x40), + raw_pdu(0x20, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06, + 0x00, 0x00, 0x21, 0x02, 0x02, 0x20), + raw_pdu(0x22, 0x03), + raw_pdu(0x30, 0x06, 0x04), + raw_pdu(0x32, 0x06), + raw_pdu(0x40, 0x07, 0x04), + raw_pdu(0x42, 0x07), + raw_pdu(0x50, 0x09, 0x04), + raw_pdu(0x52, 0x09)); return g_test_run(); } -- 2.47.3