Transfer
Object Hierarchy:
Description:
[ CCode ( cname = "struct libusb_transfer" , cprefix = "libusb_" , free_function = "libusb_free_transfer" ) ]
[ Compact ]
public class Transfer
Content:
Static methods:
- public static void fill_control_setup (uint8[] buffer, uint8 bmRequestType, uint8 bRequest, uint16 wValue, uint16 wIndex, uint16 wLength)
Creation methods:
Methods:
- public Error cancel ()
- public unowned char[] control_get_data ()
- public unowned ControlSetup control_get_setup ()
- public void fill_bulk_transfer (DeviceHandle dev_handle, uint8 endpoint, uint8[] buffer, TransferCb callback, uint timeout)
- public void fill_control_transfer (DeviceHandle dev_handle, uint8[] buffer, TransferCb callback, uint timeout)
- public void fill_interrupt_transfer (DeviceHandle dev_handle, uint8 endpoint, uint8[] buffer, TransferCb callback, uint timeout)
- public void fill_iso_transfer (DeviceHandle dev_handle, uint8 endpoint, uint8[] buffer, int num_iso_packets, TransferCb callback, uint timeout)
- public unowned uint8[] get_iso_packet_buffer (uint packet)
- public unowned uint8[] get_iso_packet_buffer_simple (int packet)
- public void set_iso_packet_lengths (uint length)
- public Error submit ()
Fields: