forked from vavrusa/libusbnet
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFUNCTIONS
More file actions
38 lines (33 loc) · 1.6 KB
/
FUNCTIONS
File metadata and controls
38 lines (33 loc) · 1.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Progress
(A - assigned, C - complete, N - not needed, B - broken)
========================================================
I. Core
C usb_init -- Initialize libusb
C usb_find_busses -- Finds all USB busses on system
C usb_find_devices -- Find all devices on all USB devices
C usb_get_busses -- Return the list of USB busses found
II. Device operations
C usb_open -- Opens a USB device
C usb_close -- Closes a USB device
C usb_set_configuration -- Sets the active configuration of a device
C usb_set_altinterface -- Sets the active alternate setting of the current interface
C usb_resetep -- Resets state for an endpoint
C usb_clear_halt -- Clears any halt status on an endpoint
C usb_reset -- Resets a device
C usb_claim_interface -- Claim an interface of a device
C usb_release_interface -- Releases a previously claimed interface
III. Control Transfers
C usb_control_msg -- Send a control message to a device
N usb_get_string -- Retrieves a string descriptor from a device
N usb_get_string_simple -- Retrieves a string descriptor from a device using the first language
N usb_get_descriptor -- Retrieves a descriptor from a device's default control pipe
N usb_get_descriptor_by_endpoint -- Retrieves a descriptor from a device
IV. Bulk Transfers
C usb_bulk_write -- Write data to a bulk endpoint
C usb_bulk_read -- Read data from a bulk endpoint
V. Interrupt Transfers
C usb_interrupt_write -- Write data to an interrupt endpoint
C usb_interrupt_read -- Read data from a interrupt endpoint
VI. Non Portable
C usb_get_driver_np -- Get driver name bound to interface
C usb_detach_kernel_driver_np -- Detach kernel driver from interface