Diff between cf52741577d672494c4b475e71335b941c7ec0ee and d4a3119903a140c88e1a69eb837b69275ac65bef

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 fc7d0fe..d26b12a 100644
--- a/unit/test-avrcp.c
+++ b/unit/test-avrcp.c
@@ -1605,5 +1605,14 @@ int main(int argc, char *argv[])
 				0x00, 0x19, 0x58, AVRCP_SET_ABSOLUTE_VOLUME,
 				0x00, 0x00, 0x01, 0x00));
 
+	/* Set absolute volume – TG */
+	define_test("/TP/VLH/BI-01-C", test_server,
+			raw_pdu(0x00, 0x11, 0x0e, 0x00, 0x48, 0x00,
+				0x00, 0x19, 0x58, AVRCP_SET_ABSOLUTE_VOLUME,
+				0x00, 0x00, 0x00),
+			raw_pdu(0x02, 0x11, 0x0e, 0x0a, 0x48, 0x00,
+				0x00, 0x19, 0x58, AVRCP_SET_ABSOLUTE_VOLUME,
+				0x00, 0x00, 0x01, 0x01));
+
 	return g_test_run();
 }