Main Site Documentation

Hints on communicating with USB modem


#1

I have a USB 56k V92 fax/modem and want to communicate with it via the Cobra USB host port.

It seems that I need to use it in CDC mode to emulate a serial port, is this correct?

The following line of code causes an InvalidOperationException to be thrown, so perhaps CDC is not what I need;

USBC_CDC cdc = USBClientController.StandardDevices.StartCDC();

Am I barking up the wrong tree? Has anyone got a hint or code sample that will allow me to send AT commands to the modem?

Thanks in advace

Ryan


#2

Your example code is for USBClinet not USB host. See CDC for USB host.

There are examples in the free ebook already