From 483c6263bc527b3b45157257d2735859bf1758e5 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Fri, 20 Dec 2013 10:32:59 +0200 Subject: [PATCH] unit/AVDTP: Add /TP/SIG/SYN/BV-05-C test Verify that a delay report received by a SRC IUT while in the OPEN state is properly accepted as valid. --- unit/test-avdtp.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c index 799e2f2d4..21afb26f1 100644 --- a/unit/test-avdtp.c +++ b/unit/test-avdtp.c @@ -1296,7 +1296,20 @@ int main(int argc, char *argv[]) 0x00), raw_pdu(0x32, 0x03), raw_pdu(0x40, 0x0d, 0x04, 0x00, 0x00)); - + define_test("/TP/SIG/SYN/BV-05-C", test_server_1_3, + raw_pdu(0x00, 0x01), + raw_pdu(0x02, 0x01, 0x04, 0x00), + raw_pdu(0x10, 0x0c, 0x04), + raw_pdu(0x12, 0x0c, 0x01, 0x00, 0x07, 0x06, 0x00, 0x00, + 0xff, 0xff, 0x02, 0x40, 0x08, 0x00), + raw_pdu(0x20, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06, + 0x00, 0x00, 0x21, 0x02, 0x02, 0x20, 0x08, + 0x00), + raw_pdu(0x22, 0x03), + raw_pdu(0x30, 0x06, 0x04), + raw_pdu(0x32, 0x06), + raw_pdu(0x40, 0x0d, 0x04, 0x00, 0x00), + raw_pdu(0x42, 0x0d)); return g_test_run(); } -- 2.47.3