Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

1.4.2.2.2.74 USB_CDC_WIRELESS_HANDSET_CONTROL_MODEL Macro
File
usb_host_cdc.h
Syntax
#define USB_CDC_WIRELESS_HANDSET_CONTROL_MODEL 0x08 // Wireless Handset Control Model
Description
Wireless Handset Control Model
1.4.2.2.3 usb_host_cdc.h
Functions
Name Description
USBHostCDCDeviceStatus This function determines the status of a CDC device.
USBHostCDCEventHandler This function is the event handler for this client driver.
USBHostCDCInitAddress This function intializes the address of the attached CDC device.
USBHostCDCInitialize This function is the initialization routine for this client driver.
USBHostCDCResetDevice This function starts a CDC reset.
USBHostCDCTasks This function performs the maintenance tasks required by CDC class
USBHostCDCTransfer This function starts a CDC transfer.
USBHostCDCTransferIsComplete This function indicates whether or not the last transfer is complete.
Macros
Name Description
DEVICE_CLASS_CDC CDC Interface Class Code
EVENT_CDC_ATTACH No event occured (NULL event)
EVENT_CDC_COMM_READ_DONE A CDC Communication Read transfer has completed
EVENT_CDC_COMM_WRITE_DONE A CDC Communication Write transfer has completed
EVENT_CDC_DATA_READ_DONE A CDC Data Read transfer has completed
EVENT_CDC_DATA_WRITE_DONE A CDC Data Write transfer has completed
EVENT_CDC_NAK_TIMEOUT CDC device NAK timeout has occurred
EVENT_CDC_NONE No event occured (NULL event)
EVENT_CDC_OFFSET If the application has not defined an offset for CDC events,
set it to 0.
EVENT_CDC_RESET CDC reset complete
USB_CDC_ABSTRACT_CONTROL_MODEL Abstract Control Model
USB_CDC_ATM_NETWORKING_CONTROL_MODEL ATM Networking Control Model
USB_CDC_CAPI_CONTROL_MODEL CAPI Control Model
USB_CDC_CLASS_ERROR CDC Class Error Codes
USB_CDC_COMM_INTF Communication Interface Class Code
USB_CDC_COMMAND_FAILED Command failed at the device.
USB_CDC_COMMAND_PASSED Command was successful.
USB_CDC_CONTROL_LINE_LENGTH Number of uint8_ts Control line transfer
USB_CDC_CS_ENDPOINT This is macro USB_CDC_CS_ENDPOINT.
USB_CDC_CS_INTERFACE Functional Descriptor Details Type Values for the bDscType
Field
USB_CDC_DATA_INTF Data Interface Class Codes
USB_CDC_DEVICE_BUSY A transfer is currently in progress.
USB_CDC_DEVICE_DETACHED Device is detached.
1.4 Library Interface MLA - USB Library Help Embedded Host API
162

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh