From 0aec685e5e8366ac77f5770836f18f32ffc99ef4 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Wed, 4 Dec 2013 15:27:53 +0200 Subject: [PATCH] unit/AVDTP: Add /TP/SIG/SMG/BI-35-C test Verify that the IUT (INT) is able to ignore a reserved capability in the GetAllCapabilities response. --- unit/test-avdtp.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c index abc40afb8..bdd3d2c0c 100644 --- a/unit/test-avdtp.c +++ b/unit/test-avdtp.c @@ -1067,6 +1067,16 @@ int main(int argc, char *argv[]) raw_pdu(0x02, 0x01, 0x04, 0x00), raw_pdu(0x10, 0x0c), raw_pdu(0x13, 0x0c, 0x11)); + define_test("/TP/SIG/SMG/BI-35-C", test_client_1_3, + raw_pdu(0x50, 0x01), + raw_pdu(0x52, 0x01, 0x04, 0x00), + raw_pdu(0x60, 0x0c, 0x04), + raw_pdu(0x62, 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(0x70, 0x03, 0x04, 0x04, 0x01, 0x00, 0x07, 0x06, + 0x00, 0x00, 0x21, 0x02, 0x02, 0x20, 0x08, + 0x00)); return g_test_run(); } -- 2.47.3