From 9f988cf8c0407aaf0c02a0c8c20d3a1bd78afdff Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 9 Oct 2014 14:09:56 +0300 Subject: [PATCH] unit/test-avrcp: Fix test /TP/MCN/CB/BV-03-C The test is to verify GetFolderItems after SetBrowsedPlayer and SetAddressedPlayer have been sent. --- unit/test-avrcp.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/unit/test-avrcp.c b/unit/test-avrcp.c index 40d2cf98d..d0136acb0 100644 --- a/unit/test-avrcp.c +++ b/unit/test-avrcp.c @@ -1029,6 +1029,20 @@ int main(int argc, char *argv[]) /* GetFolderItems - Virtual FS - TG */ define_test("/TP/MCN/CB/BV-03-C", test_server, + raw_pdu(0x00, 0x11, 0x0e, 0x00, 0x48, 0x00, + 0x00, 0x19, 0x58, AVRCP_SET_ADDRESSED_PLAYER, + 0x00, 0x00, 0x02, 0xab, 0xcd), + raw_pdu(0x02, 0x11, 0x0e, AVC_CTYPE_STABLE, + 0x48, 0x00, 0x00, 0x19, 0x58, + AVRCP_SET_ADDRESSED_PLAYER, + 0x00, 0x00, 0x01, 0x04), + brs_pdu(0x00, 0x11, 0x0e, 0x70, 0x00, 0x02, + 0xab, 0xcd), + brs_pdu(0x02, 0x11, 0x0e, 0x70, 0x00, 0x16, + 0x04, 0xab, 0xcd, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x6a, 0x01, 0x00, 0x0a, + 0x46, 0x69, 0x6c, 0x65, 0x73, 0x79, + 0x73, 0x74, 0x65, 0x6d), brs_pdu(0x00, 0x11, 0x0e, AVRCP_GET_FOLDER_ITEMS, 0x00, 0x0a, AVRCP_MEDIA_PLAYER_VFS, 0x00, 0x00, 0x00, 0x00, /* start */ -- 2.47.3