Index of values


A
application [USB.Class]
attach_kernel_driver [USB]
Re-attach an interface's kernel driver, which was previously detached using USB.detach_kernel_driver.
audio [USB.Class]

B
bulk_recv [USB]
bulk_recv ~handle ~endpoint ?timeout buffer offset length
bulk_send [USB]
bulk_send ~handle ~endpoint ?timeout buffer offset length

C
claim_interface [USB]
claim_interface handle interface_number
clear_feature [USB.Request]
Clear or disable a specific feature
clear_halt [USB]
clear_halt handle endpoint clears the halt/stall condition for an endpoint.
close [USB]
Close a previously opened device handle
communication [USB.Class]
config [USB.DT]
content_security [USB.Class]
control_recv [USB]
Receives a control packet.
control_send [USB]
Sends a control packet.

D
data [USB.Class]
detach_kernel_driver [USB]
Detach a kernel driver from an interface.
device [USB.DT]
diagnostic_device [USB.Class]

E
endpoint [USB.DT]
error_message [USB]
error_message error returns a human readable description of the error

G
get_active_config_descriptor [USB]
Get the USB configuration descriptor for the currently active configuration.
get_bus_number [USB]
Get the number of the bus that a device is connected to.
get_config_descriptor [USB]
Get a USB configuration descriptor based on its index.
get_config_descriptor_by_value [USB]
Get a USB configuration descriptor with a specific cd_configuration_value.
get_configuration [USB.Request]
Get the current device configuration value
get_configuration [USB]
get_configuration handle returns the current configuration of a device
get_descriptor [USB.Request]
Get the specified descriptor
get_device [USB]
Get the underlying device for a handle
get_device_address [USB]
Get the address of the device on the bus it is connected to.
get_device_descriptor [USB]
Get the USB device descriptor for a given device.
get_device_list [USB]
Returns a list of USB devices currently attached to the system.
get_interface [USB.Request]
Return the selected alternate setting for the specified interface
get_max_packet_size [USB]
get_max_packet_size ~device ~direction ~endpoint Convenience function to retrieve the wMaxPacketSize value for a particular endpoint in the active device configuration.
get_status [USB.Request]
Request status of the specific recipient
get_string_descriptor [USB]
Retrieve a string descriptor from a device.

H
handle_error [USB]
handle_unix_error f x applies f to x and returns the result.
hid [USB.DT]
hid [USB.Class]
hub [USB.DT]
hub [USB.Class]

I
image [USB.Class]
init [USB]
When forced, init initialises libusb.
interface [USB.DT]
interrupt_recv [USB]
interrupt_recv ~handle ~endpoint ?timeout buffer offset length
interrupt_send [USB]
interrupt_send ~handle ~endpoint ?timeout buffer offset length
iso_recv [USB]
iso_send [USB]

K
kernel_driver_active [USB]
Determine if a kernel driver is active on an interface.

M
mass_storage [USB.Class]

O
open_device [USB]
Open a device and obtain a device handle.
open_device_with [USB]
open_device_with ~vendor_id ~product_id

P
per_interface [USB.Class]
personal_healthcare [USB.Class]
physical [USB.DT]
physical [USB.Class]
printer [USB.Class]
ptp [USB.Class]
Legacy name, same as USB.Class.image.

R
release_interface [USB]
Release an interface previously claimed with libusb_claim_interface().
report [USB.DT]
reset_device [USB]
reset_device handle reset the given device

S
set_address [USB.Request]
Set device address for all future accesses
set_configuration [USB.Request]
Set device configuration
set_configuration [USB]
set_configuration handle conf change the current configuration of a device
set_debug [USB]
set_debug level set the debug level.
set_descriptor [USB.Request]
Used to update existing descriptors or add new descriptors
set_feature [USB.Request]
Set or enable a specific feature
set_interface [USB.Request]
Select an alternate interface for the specified interface
set_interface_alt_setting [USB]
set_interface_alt_setting handle interface alternate_setting activates an alternate setting for an interface.
smart_card [USB.Class]
string [USB.DT]
synch_frame [USB.Request]
Set then report an endpoint's synchronization frame

T
to_string [USB.Class]
Returns a string representation of a device class code
transfer_error_message [USB]
transfer_error_message error

V
vendor_specific [USB.Class]
video [USB.Class]

W
wireless [USB.Class]