Hello,
I'm using the newest version of the ANT dll to send a series of burst transfers. If, during the course of these transfers, I completely cover the ANT dongle and prevent all transmissions, execution will hang inside of the ANT_SendBurstTransfer() function. If any data manages to sneak through, then the function will return (sometimes successfully, sometimes unsuccessfully) normally. However, it hangs indefinitely when transmission is completely blocked. I then have to unplug the ANT dongle and plug it back in before I can use it again.
When transmission is blocked, I see a continuous stream of EVENT_RX_FAIL messages, followed by a single EVENT_RX_SEARCH_TIMEOUT message much later.
I've recompiled the dll with debug messages and managed to trace the issue down to the USB_Write() call within the DSISerialSI::WriteBytes() function. For some reason, the USB_Write never returns and this causes an unrecoverable failure.
Have you seen this problem before? Any thoughts on how to fix it?
Thanks in advance.