Main Site Documentation

USBH_DeviceType.Serial_Prolific?


#1

Hello,
I’m trying to use an USB device whose type is USBH_DeviceType.Serial_Prolific. It is an RS485 interface. How can I handle it in my code ?


#2

here http://www.microframeworkprojects.com/index.php?title=USB_Host


#3

Perfect, it works.
My problem now is to be able to know when data is available and how much. I did not find any event and no method (like BytesToRead for SerialPort object.)
Is there a workarround ?


#4

There are no event. You have to poll for incoming data in a thread. There are few discussions about this on the forum.