USB 3.0 Application Programming Interface (API)

Download

USB 3.0 Application Programming Interface (API) 2.1 MB Download
Windows Console Application (x86 and ARM64) 288 KB Download
Linux USB 3.0 Application Programming Interface (API) Guide 304 KB Download

Windows USB 3.0 Application Programming Interface (API)

The free USB3 Application Programming Interface has been designed to allow access by third party programs to the PassMark USB 3.0 loop back plug. It provides several functions to communicate with the USB3 loop back plugs as an easy way to use the plugs without having to write any device driver or extra firmware code.

The API will allow software developers to integrate the USB test plug seamlessly into their own applications.

The usb3api_v2.1003.zip* file contains:

  • A program that demonstrates how to use the API, PassMark_USB3.exe
  • The C++ source code for the demo USB program
  • The USB3 API user guide that documents the data types and functions used to communicate with the USB3 plugs

The USB3 API can only be used with the PassMark USB 3.0 loop back plug.

System Requirements

The API has been designed and tested to run on Windows 7, 8, 10 & 11. Other operating systems are not supported. The example source code was built using Microsoft Visual Studio 2013. The Cypress EZ-USB FX3 SDK is required to compile and run the demo program.

Windows Console Application

We have developed a Windows console application which helps to automate testing on USB ports. The application gets some input parameters such as device serial number, speed at witch the port should be tested, test duration etc. At the end of the test, results are written to the standard output.

Running multiple instances of the console application allows you to test multiple ports simultaneously.

The USB3Console_1.0.1006_x86_ARM64.zip* file contains:

  • The executable for the console application, USB3Console.exe
  • The C++ source code
  • A ReadMe file that summarizes the command-line options

System Requirements

The console application has been designed and tested to run on Windows 7, 8, 10 & 11. Other operating systems are not supported. The source code was built using Microsoft Visual Studio 2017.

Linux & Mac USB 3.0 Application Programming Interface (API) Guide

We have developed a tutorial package which demonstrates how to use the libusb library to communicate with USB 3.0 Loopback plugs in Linux. This package includes a manual plus some demonstration source code explaining the usage of functions in the library. This can also be used on Mac systems that have libusb installed.

You can download the latest copy of our Linux USB 3.0 API package from here.

System Requirements

Our Linux API tutorial package requires a Linux environment with the 1.0 version of libusb installed.