From f18bdc758396c64d5a577f70952815c7d82c7b55 Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 17 Apr 2014 14:25:42 +0300 Subject: [PATCH] unit/test-avrcp: Add /TP/MCN/CB/BV-02-C test To verify the GetFolderItems response issued by the TG for a folder. --- unit/test-avrcp.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/unit/test-avrcp.c b/unit/test-avrcp.c index 40c8ed52a..d82ccd9ff 100644 --- a/unit/test-avrcp.c +++ b/unit/test-avrcp.c @@ -736,6 +736,16 @@ int main(int argc, char *argv[]) 0x00, 0x00, 0x00, 0x02, /* end */ 0x00)); + /* GetFolderItems - Virtual FS - TG */ + define_test("/TP/MCN/CB/BV-02-C", test_server, + brs_pdu(0x00, 0x11, 0x0e, AVRCP_GET_FOLDER_ITEMS, + 0x00, 0x0a, AVRCP_MEDIA_PLAYER_VFS, + 0x00, 0x00, 0x00, 0x00, /* start */ + 0x00, 0x00, 0x00, 0x02, /* end */ + 0x00), + brs_pdu(0x02, 0x11, 0x0e, AVRCP_GET_FOLDER_ITEMS, + 0x00, 0x05, 0x04, 0xab, 0xcd, 0x00, 0x00)); + /* ChangePath - CT */ define_test("/TP/MCN/CB/BV-04-C", test_client, raw_pdu(0x00, 0x11, 0x0e, AVRCP_CHANGE_PATH, -- 2.47.3