unit/AVDTP: Add /TP/SIG/SMG/BI-17-C test

Verify that the IUT (ACP) is able to issue an Open stream reject
response to the INT.
This commit is contained in:
Luiz Augusto von Dentz 2013-12-01 17:50:08 +02:00
parent 712c20d275
commit e02a835a94

View File

@ -813,6 +813,14 @@ int main(int argc, char *argv[])
raw_pdu(0x22, 0x03),
raw_pdu(0x30, 0x04, 0x00),
raw_pdu(0x33, 0x04, 0x12));
define_test("/TP/SIG/SMG/BI-17-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(0x30, 0x06, 0x04),
raw_pdu(0x33, 0x06, 0x31));
return g_test_run();
}