Jump to main content

##

# 2.5.4.26 USB_CDC_REQUEST Enumeration

## C

    typedef enum {
      USB_CDC_REQUEST_SEND_ENCAPSULATED_COMMAND = 0x00,
      USB_CDC_REQUEST_GET_ENCAPSULATED_RESPONSE = 0x01,
      USB_CDC_REQUEST_SET_COMM_FEATURE = 0x02,
      USB_CDC_REQUEST_GET_COMM_FEATURE = 0x03,
      USB_CDC_REQUEST_CLEAR_COMM_FEATURE = 0x04,
      USB_CDC_REQUEST_SET_AUX_LINE_STATE = 0x10,
      USB_CDC_REQUEST_SET_HOOK_STATE = 0x11,
      USB_CDC_REQUEST_PULSE_SETUP = 0x12,
      USB_CDC_REQUEST_SEND_PULSE = 0x13,
      USB_CDC_REQUEST_SET_PULSE_TIME = 0x14,
      USB_CDC_REQUEST_RING_AUX_JACK = 0x15,
      USB_CDC_REQUEST_SET_LINE_CODING = 0x20,
      USB_CDC_REQUEST_GET_LINE_CODING = 0x21,
      USB_CDC_REQUEST_SET_CONTROL_LINE_STATE = 0x22,
      USB_CDC_REQUEST_SEND_BREAK = 0x23,
      USB_CDC_REQUEST_SET_RINGER_PARMS = 0x30,
      USB_CDC_REQUEST_GET_RINGER_PARMS = 0x31,
      USB_CDC_REQUEST_SET_OPERATIONAL_PARMS = 0x32,
      USB_CDC_REQUEST_GET_OPERATIONAL_PARMS = 0x33,
      USB_CDC_REQUEST_SET_LINE_PARMS = 0x34,
      USB_CDC_REQUEST_GET_LINE_PARMS = 0x35,
      USB_CDC_REQUEST_DIAL_DIGITS = 0x36,
      USB_CDC_REQUEST_SET_UNIT_PARAMETER = 0x37,
      USB_CDC_REQUEST_GET_UNIT_PARAMETER = 0x38,
      USB_CDC_REQUEST_CLEAR_UNIT_PARAMETER = 0x39,
      USB_CDC_REQUEST_GET_PROFILE = 0x3A,
      USB_CDC_REQUEST_SET_ETHERNET_MULTICAST_FILTERS = 0x40,
      USB_CDC_REQUEST_SET_ETHERNET_POWER_MANAGEMENT_FILTER = 0x41,
      USB_CDC_REQUEST_GET_ETHERNET_POWER_MANAGEMENT_FILTER = 0x42,
      USB_CDC_REQUEST_SET_ETHERNET_PACKET_FILTER = 0x43,
      USB_CDC_REQUEST_GET_ETHERNET_STATISTIC = 0x44,
      USB_CDC_REQUEST_SET_ATM_DATA_FORMAT = 0x50,
      USB_CDC_REQUEST_GET_ATM_DEVICE_STATISTICS = 0x51,
      USB_CDC_REQUEST_SET_ATM_DEFAULT_VC = 0x52,
      USB_CDC_REQUEST_GET_ATM_VC_STATISTICS = 0x53,
      USB_CDC_REQUEST_NONE = 0xFF
    } USB_CDC_REQUEST;

## Summary

CDC request codes

This enumeration identifies the possible CDC specific request codes.