Return-Path: From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org Subject: [PATCHv2 10/10] unit/avrcp: Add /TP/BGN/BV-02-I TG test Date: Tue, 11 Mar 2014 15:05:54 +0200 Message-Id: <1394543154-25355-10-git-send-email-Andrei.Emeltchenko.news@gmail.com> In-Reply-To: <1394543154-25355-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> References: <1394458798-13822-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> <1394543154-25355-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: From: Andrei Emeltchenko Test verifies that the Target responds to Prev Group command. --- unit/test-avrcp.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/unit/test-avrcp.c b/unit/test-avrcp.c index 5179c7b..08e07ac 100644 --- a/unit/test-avrcp.c +++ b/unit/test-avrcp.c @@ -1072,5 +1072,16 @@ int main(int argc, char *argv[]) AVC_VENDOR_UNIQUE, 0x05, 0x00, 0x19, 0x58, 0x00, AVC_VENDOR_PREV_GROUP)); + /* Previous Group command transfer - TG */ + define_test("/TP/BGN/BV-02-I", test_server, + raw_pdu(0x00, 0x11, 0x0e, 0x00, 0x48, + AVC_OP_PASSTHROUGH, + AVC_VENDOR_UNIQUE, 0x05, 0x00, 0x19, + 0x58, 0x00, AVC_VENDOR_PREV_GROUP), + raw_pdu(0x02, 0x11, 0x0e, AVC_CTYPE_ACCEPTED, + 0x48, AVC_OP_PASSTHROUGH, + AVC_VENDOR_UNIQUE, 0x05, 0x00, 0x19, + 0x58, 0x00, AVC_VENDOR_PREV_GROUP)); + return g_test_run(); } -- 1.8.3.2