Diff between d4a3119903a140c88e1a69eb837b69275ac65bef and d5a247053d388e47089f74a709bc0b062e7b7a96

Changed Files

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

Full Patch

diff --git a/unit/test-avrcp.c b/unit/test-avrcp.c
index d26b12a..c41f2e6 100644
--- a/unit/test-avrcp.c
+++ b/unit/test-avrcp.c
@@ -1614,5 +1614,14 @@ int main(int argc, char *argv[])
 				0x00, 0x19, 0x58, AVRCP_SET_ABSOLUTE_VOLUME,
 				0x00, 0x00, 0x01, 0x01));
 
+	/* Set absolute volume – TG */
+	define_test("/TP/VLH/BI-02-C", test_server,
+			raw_pdu(0x00, 0x11, 0x0e, 0x00, 0x48, 0x00,
+				0x00, 0x19, 0x58, AVRCP_SET_ABSOLUTE_VOLUME,
+				0x00, 0x00, 0x01, 0x80),
+			raw_pdu(0x02, 0x11, 0x0e, 0x0c, 0x48, 0x00,
+				0x00, 0x19, 0x58, AVRCP_SET_ABSOLUTE_VOLUME,
+				0x00, 0x00, 0x01, 0x00));
+
 	return g_test_run();
 }