Is that possible to check if the device is pending for read before we call ReadDataViaBulkTransfer() or SendViaBulkTransfers()?
Due to certain reason, I need to set the pipeTimeout = 0. In this case, if the device is pending for read and SendViaBulkTransfers() is being called, the program will hang forever.