Return-Path: From: Andrei Emeltchenko To: linux-bluetooth@vger.kernel.org Subject: [PATCH 3/3] unit/avrcp: Add /TP/CFG/BV-02-C test Date: Wed, 26 Feb 2014 17:14:29 +0200 Message-Id: <1393427669-15337-3-git-send-email-Andrei.Emeltchenko.news@gmail.com> In-Reply-To: <1393427669-15337-1-git-send-email-Andrei.Emeltchenko.news@gmail.com> References: <1393427669-15337-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 Get Capability request. --- unit/test-avrcp.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/unit/test-avrcp.c b/unit/test-avrcp.c index dc704fa..d052c8d 100644 --- a/unit/test-avrcp.c +++ b/unit/test-avrcp.c @@ -427,5 +427,13 @@ int main(int argc, char *argv[]) 0x00, 0x19, 0x58, 0x10, 0x00, 0x00, 0x01, 0x03)); + define_test("/TP/CFG/BV-02-C", test_server, + raw_pdu(0x00, 0x11, 0x0e, 0x01, 0x48, 0x00, + 0x00, 0x19, 0x58, 0x10, 0x00, 0x00, + 0x01, 0x02), + raw_pdu(0x02, 0x11, 0x0e, 0x0c, 0x48, 0x00, + 0x00, 0x19, 0x58, 0x10, 0x00, 0x00, + 0x05, 0x02, 0x01, 0x00, 0x19, 0x58)); + return g_test_run(); } -- 1.8.3.2