III. Functions

Table of Contents
I. Core
usb_init — Initialize libusb
usb_find_busses — Find's all USB busses on system
usb_find_devices — Find all devices on all USB devices
usb_get_busses — Return the list of USB busses found
II. Device operations
usb_open — Opens a USB device
usb_close — Closes a USB device
usb_set_configuration — Sets the active configuration of a device
usb_set_altinterface — Sets the active alternate setting of the current interface
usb_resetep — Resets state for an endpoint
usb_clear_halt — Clears any halt status on an endpoint
usb_reset — Resets a device
usb_claim_interface — Claim an interface of a device
usb_release_interface — Releases a previously claimed interface
III. Control Transfers
usb_control_msg — Send a control message to a device
usb_get_string — Retrieves a string descriptor from a device
usb_get_string_simple — Retrieves a string descriptor from a device using the first language
IV. Bulk Transfers
usb_bulk_write — Write data to a bulk endpoint
usb_bulk_read — Read data from a bulk endpoint