Skip to content
LudovicRousseau edited this page Mar 1, 2013 · 5 revisions

Table of Contents

libusbx API 2.0

About

This page documents the proposed changes between the libusbx 1.0 and 2.0 API

List of changes

  1. MaxPower -> bMaxPower
  2. Make transfer status error codes negative
  3. Use size_t instead of int in transfer functions (should we also review the use of int/unsigned int elsewhere?)
  4. Add a uint32_t stream_id to struct libusb_transfer for USB-3 bulk
  5. Use usb_interface instead of interface in libusb_config_descriptor

Current diff

The current diff between 1.0 and proposed 2.0 can be obtained here.

Clone this wiki locally