Skip navigation

emUSB-Host CDC

  • Compatibility with different CDC devices
  • Ability to send and receive data
  • Ability to set various parameters, such as baud rate, number of stop bits, parity
  • Handling of multiple CDC devices at the same time
  • Notifications about CDC connection status
  • Ability to query the CDC line and modem status
  • Small memory footprint in RAM and ROM

The USB Communications Device Class (CDC) provides access to COM port devices via USB. This enables communication via modems for mobile networks such as GSM/3G/LTE or cable based network modems.

fax.jpg

The communitcation device class is primarily used and supported by modems, ISDN and also by fax machines.

Typical Applications

The communication device class is primarily used and supported by

  • Modems
  • ISDN
  • Fax machines

Example Code Included

An example application which uses the API is provided with any shipment or eval software including emUSB-Host. This example displays information about the CDC device in the I/O terminal of the debugger. In addition the application then starts a simple echo server, sending back the received data.

Requirements

Components required to use emUSB-Host CDC:

  • emUSB-Host CDC (Included in emUSB-Host PRO package)
  • emUSB-Host core (Included in emUSB-Host PRO package)
  • emUSB-Host target driver (One driver is included in emUSB-Host PRO package)
  • RTOS (embOS)