Main Site Documentation

Cobra - Connecting GPRS Modem using USBHost


#1

Hi!

I have a specific problem:
I want to add a modem (the Airlink GL61x0) using the usb port of my FEZ Cobra. Then I’d like to send/receive data from the network.

Sending data is no problem, as I obviously always know when data needs to be sent.

BUT - as the USBH_SerialUSB class does not have a “DataReceived” event, how can I know when I get something back?!
???

Do I need to poll all the time and run into timeouts or is there a better way to do this?

Please help!


#2

yes you have to poll a USB serial device (there are other threads on this here - one I asked :slight_smile: )