From 6d1f054207738c695bec8321a6a3ad929bc8658c Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 21 Nov 2013 17:44:45 +0200 Subject: [PATCH] unit/AVDTP: Add /TP/SIG/SMG/BV-16-C test Verify that the IUT (ACP) reports the reception of valid AVDTP_OPEN_CMD for transport sessions associated to a SEP and replies the returned confirmation. --- unit/test-avdtp.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c index 4e469872f..2bf782c26 100644 --- a/unit/test-avdtp.c +++ b/unit/test-avdtp.c @@ -500,6 +500,17 @@ int main(int argc, char *argv[]) 0x00, 0x00, 0x21, 0x02, 0x02, 0x20), raw_pdu(0xc2, 0x03), raw_pdu(0xd0, 0x06, 0x04)); + define_test("/TP/SIG/SMG/BV-16-C", test_server, + raw_pdu(0x00, 0x01), + raw_pdu(0x02, 0x01, 0x04, 0x00), + raw_pdu(0x10, 0x02, 0x04), + raw_pdu(0x12, 0x02, 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), + raw_pdu(0x22, 0x03), + raw_pdu(0x30, 0x06, 0x04), + raw_pdu(0x32, 0x06)); return g_test_run(); } -- 2.47.3