blob: 29bf9a694e4e6a95e577cab0a931afa5872ad5f3 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.hardware.usb.hcitest;
using zx;
type TestResults = struct {
received_bulk_packets uint64;
bulk_packet_size uint64;
received_isoch_packets uint64;
isoch_packet_size uint64;
got_correct_number_of_bytes_in_short_transfers bool;
};
protocol Device {
/// Runs the tests
Run() -> (struct {
results TestResults;
}) error zx.status;
};