unit/avrcp: Add /TP/BGN/BV-02-I TG test

Test verifies that the Target responds to Prev Group command.
This commit is contained in:
Andrei Emeltchenko 2014-03-12 16:40:29 +02:00 committed by Luiz Augusto von Dentz
parent 53a2d6dc8f
commit 06f1d1ffe7

View File

@ -1072,5 +1072,16 @@ int main(int argc, char *argv[])
AVC_VENDOR_UNIQUE, 0x05, 0x00, 0x19,
0x58, 0x00, AVC_VENDOR_PREV_GROUP));
/* Previous Group command transfer - TG */
define_test("/TP/BGN/BV-02-I", test_server,
raw_pdu(0x00, 0x11, 0x0e, 0x00, 0x48,
AVC_OP_PASSTHROUGH,
AVC_VENDOR_UNIQUE, 0x05, 0x00, 0x19,
0x58, 0x00, AVC_VENDOR_PREV_GROUP),
raw_pdu(0x02, 0x11, 0x0e, AVC_CTYPE_ACCEPTED,
0x48, AVC_OP_PASSTHROUGH,
AVC_VENDOR_UNIQUE, 0x05, 0x00, 0x19,
0x58, 0x00, AVC_VENDOR_PREV_GROUP));
return g_test_run();
}