February 2015
Intermediate to advanced
768 pages
26h 24m
English
USB defines four types of transfers:
→ Control—Typically used for commands or status updates
→ Bulk—For sending a large amount of data efficiently
→ Interrupt—Notifications, although delivered by the host polling
→ Isochronous—For streaming data, such as audio/video
You can perform the first three types of USB transfers; isochronous transfers are not supported.
You send control transfers with UsbDevice’s SendControlInTransferAsync and SendControlOutTransferAsync methods. The IN transfer method is for reading, and the OUT transfer method is for writing. These require a UsbSetupPacket and optionally an IBuffer containing transfer data. You can construct a UsbSetupPacket with its parameterless constructor ...
Read now
Unlock full access