From b18cf6d32fb5faf6a88ee1f6d5245f3b2f6975cc Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 20 Dec 2013 09:51:56 +0200 Subject: [PATCH] unit/AVDTP: Add /TP/SIG/SYN/BV-04-C test Verify that an initial delay report is sent by a SNK (INT) device when the Stream Configuration Procedure is initiated by the SNK device (transition from IDLE to OPEN state) and that the report conforms to the specification. --- unit/test-avdtp.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c index 13f0df663..799e2f2d4 100644 --- a/unit/test-avdtp.c +++ b/unit/test-avdtp.c @@ -1285,6 +1285,18 @@ int main(int argc, char *argv[]) 0x00), raw_pdu(0x22, 0x03), raw_pdu(0x00, 0x0d, 0x04, 0x00, 0x00)); + define_test("/TP/SIG/SYN/BV-04-C", test_client_1_3, + raw_pdu(0x10, 0x01), + raw_pdu(0x12, 0x01, 0x04, 0x00), + raw_pdu(0x20, 0x0c, 0x04), + raw_pdu(0x22, 0x0c, 0x01, 0x00, 0x07, 0x06, 0x00, 0x00, + 0xff, 0xff, 0x02, 0x40, 0x0f, 0x00, 0x08, 0x00), + raw_pdu(0x30, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06, + 0x00, 0x00, 0x21, 0x02, 0x02, 0x20, 0x08, + 0x00), + raw_pdu(0x32, 0x03), + raw_pdu(0x40, 0x0d, 0x04, 0x00, 0x00)); + return g_test_run(); } -- 2.47.3