From f0d3a528094a9abf7d408b9c726c78e13dd597b1 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 4 Dec 2013 14:28:43 +0200 Subject: [PATCH] unit/AVDTP: Add /TP/SIG/SMG/BI-30-C test Verify that the IUT (INT) is able to ignore a reserved capability in the GetCapabilities response. --- unit/test-avdtp.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c index 45e962658..d0f35107b 100644 --- a/unit/test-avdtp.c +++ b/unit/test-avdtp.c @@ -1045,6 +1045,14 @@ int main(int argc, char *argv[]) define_test("/TP/SIG/SMG/BI-28-C", test_server, raw_pdu(0x00, 0xff), raw_pdu(0x01, 0x3f)); + define_test("/TP/SIG/SMG/BI-30-C", test_client, + raw_pdu(0x00, 0x01), + raw_pdu(0x02, 0x01, 0x04, 0x00), + raw_pdu(0x10, 0x02, 0x04), + raw_pdu(0x12, 0x02, 0xee, 0x01, 0x00, 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)); return g_test_run(); } -- 2.47.3