USBH_SerialUSB BytesToRead


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.



It is not there. You have to keep polling data in a thread. See this:

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