Skip to contentSkip to conversation

USB: count of reading urbs

DISCUSSION Pete Zaitcev 1 participant 1 message Jul 22, 2006 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 2 lines · Sergej Pupykin

Please, tell me. If I submit one urb, can I lost data? (If data comes when urb callback executed)

USB by its nature requires devices to have some buffering, because polling by the host may be irregular or not often enough. So, usually there is no loss of data in such case. If you delay resubmissions enough to overrun device's internal queue, it may happen.

-- Pete