From 70ab680d2f4f5ae447c171ee459b2467c7d794ef Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 18 Dec 2013 16:09:47 +0200 Subject: [PATCH] unit/AVDTP: Add /TP/SIG/SYN/BV-02-C test Verify that the delay reporting capability is configured by a SNK device when it is offered by the SRC device. This allows a SRC device to detect and use the delay reporting capability of a SNK device when the SNK device is the INT of the start streaming procedure. --- unit/test-avdtp.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c index e3374b3db..0751a049b 100644 --- a/unit/test-avdtp.c +++ b/unit/test-avdtp.c @@ -1261,6 +1261,15 @@ int main(int argc, char *argv[]) raw_pdu(0x10, 0x0c, 0x04), raw_pdu(0x12, 0x0c, 0x01, 0x00, 0x07, 0x06, 0x00, 0x00, 0xff, 0xff, 0x02, 0x40, 0x08, 0x00)); + define_test("/TP/SIG/SYN/BV-02-C", test_client_1_3, + raw_pdu(0xd0, 0x01), + raw_pdu(0xd2, 0x01, 0x04, 0x00), + raw_pdu(0xe0, 0x0c, 0x04), + raw_pdu(0xe2, 0x0c, 0x01, 0x00, 0x07, 0x06, 0x00, 0x00, + 0xff, 0xff, 0x02, 0x40, 0x0f, 0x00, 0x08, 0x00), + raw_pdu(0xf0, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06, + 0x00, 0x00, 0x21, 0x02, 0x02, 0x20, 0x08, + 0x00)); return g_test_run(); } -- 2.47.3