From: Andrei Emeltchenko <andrei.emeltchenko@xxxxxxxxx> Test verifies that the Controller can send Prev Group command to the Target. --- unit/test-avrcp.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/unit/test-avrcp.c b/unit/test-avrcp.c index a5a7a38..fd95a7d 100644 --- a/unit/test-avrcp.c +++ b/unit/test-avrcp.c @@ -640,6 +640,12 @@ static void test_client(gconstpointer data) avrcp_send_passthrough_vendor(context->session, AVC_VENDOR_NEXT_GROUP, IEEEID_BTSIG); + + if (g_str_equal(context->data->test_name, "/TP/BGN/BV-02-I")) + avrcp_send_passthrough_vendor(context->session, + AVC_VENDOR_PREV_GROUP, + IEEEID_BTSIG); + execute_context(context); } @@ -1041,5 +1047,12 @@ int main(int argc, char *argv[]) AVC_VENDOR_UNIQUE, 0x05, 0x00, 0x19, 0x58, 0x00, AVC_VENDOR_NEXT_GROUP)); + /* Previous Group command transfer - CT */ + define_test("/TP/BGN/BV-02-I", test_client, + raw_pdu(0x00, 0x11, 0x0e, 0x00, 0x48, + AVC_OP_PASSTHROUGH, + AVC_VENDOR_UNIQUE, 0x05, 0x00, 0x19, + 0x58, 0x00, AVC_VENDOR_PREV_GROUP)); + return g_test_run(); } -- 1.8.3.2 -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html