mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-12-21 18:04:00 +08:00
unit/test-avrcp: Add /TP/INV/BI-02-C test
To verify the General Reject Response issued by the TG.
This commit is contained in:
parent
c621375e83
commit
f59732aefc
@ -1166,6 +1166,12 @@ int main(int argc, char *argv[])
|
||||
0xff, 0x00, 0x00, 0x01,
|
||||
AVRCP_STATUS_INVALID_COMMAND));
|
||||
|
||||
/* Invalid PDU ID - Browsing TG */
|
||||
define_test("/TP/INV/BI-02-C", test_server,
|
||||
brs_pdu(0x00, 0x11, 0x0e, 0xff, 0x00, 0x00),
|
||||
brs_pdu(0x02, 0x11, 0x0e, AVRCP_GENERAL_REJECT,
|
||||
0x00, 0x01, AVRCP_STATUS_INVALID_COMMAND));
|
||||
|
||||
/* Next Group command transfer - CT */
|
||||
define_test("/TP/BGN/BV-01-I", test_client,
|
||||
raw_pdu(0x00, 0x11, 0x0e, 0x00, 0x48,
|
||||
|
Loading…
Reference in New Issue
Block a user