Main Site Documentation

USBH_SerialUSB BytesToRead


#1

Hello,

The USBH_SerialUSB doesn’t have a BytesToRead property.
How can I determine the number of bytes of data in the receive buffer.

I want’ to read the receive buffer most efficient as possible.

Regards,

Martijn


#2

It is not there. You have to keep polling data in a thread. See this:
http://www.tinyclr.com/forum/2/1444/


#3

ok, do I need to poll just single bytes or can I poll multiple bytes?