Closing the device makes the device available for openning by any other thread. Interface intfc and Alternate setting altset must be implemented by the device See following section 4. USB Protocol for more detail. The device must be opened prior to this operation. Default upon powered up is Interface 0 and Alternate setting 0.
Reads count bytes of data from the USB pipe specified by pipenum .
The pipe must be IN pipe. Reading from OUT pipe will cause unexpected results. Depending on pipenum implemented by each device, there may be restriction in arguments, such as count must be even number. See following section 4. The device must be opened prior to this operation.