LMS 2012
|
#include <libusb.h>
Data Fields | |
libusb_device_handle * | dev_handle |
uint8_t | flags |
unsigned char | endpoint |
unsigned char | type |
unsigned int | timeout |
enum libusb_transfer_status | status |
int | length |
int | actual_length |
libusb_transfer_cb_fn | callback |
void * | user_data |
unsigned char * | buffer |
int | num_iso_packets |
struct libusb_iso_packet_descriptor | iso_packet_desc [0] |
The generic USB transfer structure. The user populates this structure and then submits it in order to request a transfer. After the transfer has completed, the library populates the transfer with the results and passes it back to the user.
int actual_length |
libusb_transfer_cb_fn callback |
libusb_device_handle* dev_handle |
unsigned char endpoint |
uint8_t flags |
A bitwise OR combination of libusb_transfer_flags.
struct libusb_iso_packet_descriptor iso_packet_desc[0] |
int num_iso_packets |
enum libusb_transfer_status status |
The status of the transfer. Read-only, and only for use within transfer callback function.
If this is an isochronous transfer, this field may read COMPLETED even if there were errors in the frames. Use the status field in each packet to determine if errors occurred.
unsigned int timeout |
unsigned char type |
Type of the endpoint from libusb_transfer_type
void* user_data |