diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2013-12-02 14:13:03 +0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2013-12-05 12:36:03 +0200 |
commit | a5db2c3af71eafacd4307cce0fe03c9486b36c41 (patch) | |
tree | 6b243ae4e3df19ca07e06cfc75fec938d6043b27 /unit/test-avdtp.c | |
parent | 962a69ec72d4a2329d2eaaf535f132233793e409 (diff) | |
download | bluez-a5db2c3af71eafacd4307cce0fe03c9486b36c41.tar.gz |
unit/AVDTP: Add /TP/SIG/SMG/BI-23-C test
Verify that the IUT (ACP) is able to issue a close stream reject
response to the Lower Tester (INT).
Diffstat (limited to 'unit/test-avdtp.c')
-rw-r--r-- | unit/test-avdtp.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/unit/test-avdtp.c b/unit/test-avdtp.c index f05a1b1d7..a6dd0ce07 100644 --- a/unit/test-avdtp.c +++ b/unit/test-avdtp.c @@ -912,6 +912,19 @@ int main(int argc, char *argv[]) raw_pdu(0xd2, 0x06), raw_pdu(0xe0, 0x07, 0x04), raw_pdu(0xe3, 0x07, 0x04, 0x31)); + define_test("/TP/SIG/SMG/BI-23-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), + raw_pdu(0x40, 0x08, 0x00), + raw_pdu(0x43, 0x08, 0x12)); return g_test_run(); } |