Perform a USB control transfer.
Warning: this function is synchronous, and cannot be cancelled.
| this |
a Device
|
| request_type |
the request type field for the setup packet
|
| request |
the request field for the setup packet
|
| value |
the value field for the setup packet
|
| idx |
the index field for the setup packet
|
| data |
a suitably-sized data buffer for either input or output
|
| actual_length |
the actual number of bytes sent, or null
|
| timeout |
timeout timeout (in milliseconds) that this function should wait before giving up due to no response being received. For an
unlimited timeout, use 0.
|
| cancellable |
a Cancellable, or null
|
| length |
the length field for the setup packet.
|