Diff between c621375e83f070b3d377d97b66290e4db5831af1 and f59732aefc2a2eec0811f51db689546536a71b8b

Changed Files

File Additions Deletions Status
unit/test-avrcp.c +6 -0 modified

Full Patch

diff --git a/unit/test-avrcp.c b/unit/test-avrcp.c
index ad76e5c..a483f0e 100644
--- a/unit/test-avrcp.c
+++ b/unit/test-avrcp.c
@@ -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,