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.
This commit is contained in:
Luiz Augusto von Dentz 2013-12-04 15:27:53 +02:00
parent b92827f804
commit 0aec685e5e

View File

@ -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();
}