UsbController.ConfigError Enumeration
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Specifies the errors that can occur when configuring a USB port.
Namespace: Microsoft.SPOT.Hardware.UsbClient
Assembly: Microsoft.SPOT.Hardware.Usb (in Microsoft.SPOT.Hardware.Usb.dll)
Syntax
'Declaration
Public Enumeration ConfigError
public enum ConfigError
public enum class ConfigError
type ConfigError
public enum ConfigError
Members
| Member name | Description | |
|---|---|---|
| ConfigOK | The configuration is correct. | |
| MissingRecord | The device descriptor record or the configuration descriptor record is missing. | |
| ExtraDevice | More than one device descriptor record was found. | |
| DeviceSize | The device descriptor length or the header size incorrect. | |
| DeviceType | There is a device descriptor type mismatch. | |
| Ep0Size | The maximum size of the device descriptor is incorrect for endpoint 0. | |
| NumConfigs | More than one configuration is defined for this device. | |
| ExtraConfig | More than one configuration descriptor header was found. | |
| ConfigSize | The record size does not match the configuration descriptor size or the config descriptor size is wrong. | |
| ConfigType | There is a configuration descriptor type mismatch. | |
| NoInterface | The configuration was defined with no interfaces. | |
| ConfigNum | The configuration number was larger than 1. | |
| ConfigAttr | The configuration attribute is incorrect. | |
| InterfaceLen | The length of an interface descriptor is incorrect. | |
| InterfaceType | The interface type is incorrect. | |
| InterfaceAlt | Alternate interfaces are not allowed. | |
| NoEndpoint | The interface was defined without endpoints. | |
| EndpointLength | The length of the endpoint descriptor is incorrect. | |
| EndpointType | The endpoint type is incorrect. | |
| EndpointAttr | The endpoint attribute is incorrect. | |
| StringSize | The string descriptor length and the header size do not match. | |
| StringType | The is a string descriptor type mismatch. | |
| GenericDir | The direction for a generic descriptor data (bmRequestType) can only be IN. | |
| UnknownRecord | An unknown record type was found in the configuration descriptor list. | |
| EndpointRange | The endpoint number is not within the valid range. Specifically, it is less than 1 or it is too large. | |
| DuplicateEndpoint | The endpoint appears more than once in the configuration list. | |
| DuplicateInterface | The interface appears more than once in the configuration list. | |
| TooManyInterfaces | More than 10 interfaces were defined in the configuration list. | |
| NoSuchController | There is no such controller for this device. | |
| ControllerStarted | An attempt was made to change the configuration of an active controller. The controller must be stopped or shut down before your program can change the configuration. |