BeginDataXfer / WaitForXfer behaviour

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
DaBr_659386
Level 3
Level 3
10 replies posted 10 questions asked 5 replies posted

Hi,

   

Does anyone know if a BeginDataXfer is initiated and then WaitForXfer subsequently times out, does the underlying call that BeginDataXfer makes to DeviceIoControl actually get canceled or does it stay blocked waiting for either data to be received or an error/abort to occur ?

   

In other words, if WaitForXfer times out does BeginDataXfer need to be called again or can I repeatedly call WaitForXfer ?

   

Thanks
Dave

0 Likes
1 Reply
Anonymous
Not applicable

Hi,

   

The beginxfer data needs to be called again when WaitforXfer times out. Please refer the source code of our host applications available in "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\application" to see how these can be implemented.

   

Regards,

   

-Madhu Sudhan

0 Likes