From dd48511bf5d72c4d23b101ce5546b8a19ba3d46e Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 28 Nov 2013 12:29:27 +0200 Subject: [PATCH] unit/AVDTP: Add /TP/SIG/SMG/BV-31-C test Verify that the IUT (INT) is able to accept all defined capabilities in the GetCapabilities response. --- unit/test-avdtp.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c index 812ba12a1..1218de35d 100644 --- a/unit/test-avdtp.c +++ b/unit/test-avdtp.c @@ -665,6 +665,16 @@ int main(int argc, char *argv[]) 0xff, 0xff, 0x02, 0x40, 0x0f, 0x00), raw_pdu(0x70, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06, 0x00, 0x00, 0x21, 0x02, 0x02, 0x20)); + define_test("/TP/SIG/SMG/BV-31-C", test_client_1_3, + raw_pdu(0x80, 0x01), + raw_pdu(0x82, 0x01, 0x04, 0x00), + raw_pdu(0x90, 0x0c, 0x04), + raw_pdu(0x92, 0x0c, 0x01, 0x00, 0x02, 0x00, 0x03, 0x00, + 0x04, 0x00, 0x05, 0x00, 0x06, 0x00, 0x07, 0x06, + 0x00, 0x00, 0xff, 0xff, 0x02, 0x40, 0x08, 0x00), + raw_pdu(0xa0, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06, + 0x00, 0x00, 0x21, 0x02, 0x02, 0x20, 0x08, + 0x00)); return g_test_run(); } -- 2.47.3