I can find no way out!Anybody can point me why USBIsocRead return
kUSBUnderRunErr,and what the kUSBUnderRunErr means.
How to Avoid unlimited USBIsocRead requests returning kUSBUnderRunErr.
kUSBUnderRunErr isn't really an error -- for a packet, it means that
ioActCount < ioReqCount (the packet is smaller than your buffer) --
for the result of the call, it just means that one of the packets in
the buffer is smaller than the maximum size and there weren't any
other errors.
You can safely ignore it and check the actual size of the packets returned.
kUSBOverRunErr is an error in that it means you lost some data (the
packet was bigger than your buffer).
HTH,
-Steve
--
_________________________________________________________________________
Steve Sisak, CTO email@hidden
IOXperts, Inc. +1 617 876-2572
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden