Summary
Offers software development, website design & development, wireless networking, and IT certification preparation tools. Specialized in Open Source languages including CGI Perl, PHP, MySQL, and Java. HP LJ M476 Scan Driver USB Device Standard PCMCIA-Kartenmodem EPSONPM-2200C 11b/g Wireless LAN Mini PCI Express Adapter II Epson Perfection 3170/GT-9400 ICREON Wireless USB Host DFU Deskjet D2600 (DOT4PRINT) Nokia E51 USB Phonet SAMSUNG HSP Plus Modem Driver.
- Types of USB descriptors
- Microsoft-provided programming interfaces for USB retrieving descriptors
Icreon Wireless Usb Host Dfu Driver Windows 7
- Wireless Mobile Printing technologies and services including Wireless, Mobile Bluetooth from Woosim Systems Inc. Wireless Mobile Printer - Woosim Systems BlackBox.com offers more than 118,000 products including cables, digital signage, KVM, networking, multimedia and more.
- This USB bootloader allows to perform In-System Programming from an USB host controller without removing the part from the system or without a pre-programmed application, and without any external programming interface.
Important APIs
- See reference tables included in this topic.
A USB device provides information about itself in data structures called USB descriptors. This section provides information about device, configuration, interface, and endpoint descriptors and ways to retrieve them from a USB device.
USB Descriptors mapped to device layout
The host software obtains descriptors from an attached device by sending various standard control requests to the default endpoint(Get Descriptor requests, see USB specification section 9.4.3). Those requests specify the type of descriptor to retrieve. In response to such requests, the device sends descriptors that include information about the device, its configurations, interfaces and the related endpoints. Device descriptors contain information about the whole device. Configuration descriptors contain information about each device configuration. String descriptors contain Unicode text strings.
Every USB device exposes a device descriptor that indicates the device’s class information, vendor and product identifiers, and number of configurations. Each configuration exposes it's configuration descriptor that indicates number of interfaces and power characteristics. Each interface exposes an interface descriptor for each of its alternate settings that contains information about the class and the number of endpoints. Each endpoint within each interface exposes endpoint descriptors that indicate the endpoint type and the maximum packet size.
For example, let's consider the OSR FX2 board device layout (see USB device layout). At device level, the device exposes a device descriptor and an endpoint descriptor for the default endpoint. At configuration level, the device exposes a configuration descriptor for Configuration 0. At interface level, it exposes one interface descriptor for Alternate Setting 0. At the endpoint level, it exposes three endpoint descriptors.
USB device descriptor
Every Universal Serial Bus (USB) device must be able to provide a single device descriptor that contains relevant information about the device. Windows uses that information to derive various sets of information. For example, the idVendor and idProduct fields specify vendor and product identifiers, respectively. Windows uses those field values to construct a hardware ID for the device. To view the hardware ID of a particular device, open Device Manager and view device properties. In the Details tab, the Hardware Ids property value indicates the hardware ID ('USBXXX') that is generated by Windows. The bcdUSB field indicates the version of the USB specification to which the device conforms. For example, 0x0200 indicates that the device is designed as per the USB 2.0 specification. The bcdDevice value indicates the device-defined revision number. The USB driver stack uses bcdDevice, along with idVendor and idProduct, to generate hardware and compatible IDs for the device. You can view the those identifiers in Device Manager. The device descriptor also indicates the total number of configurations that the device supports.
The host obtains the device descriptor through a control transfer. Microsoft provides programming interfaces to obtain the descriptor.
If you are writing a.. | Call.. |
---|---|
UWP app that uses Windows.Devices.Usb](/uwp/api/Windows.Devices.Usb)'>Windows.Devices.Usb | UsbDevice.DeviceDescriptor](/uwp/api/Windows.Devices.Usb.UsbDevice#Windows_Devices_Usb_UsbDevice_DeviceDescriptor)'>UsbDevice.DeviceDescriptor |
Win32 desktop app that uses WinUSB Functions | WinUsb_GetDescriptor](/windows/win32/api/winusb/nf-winusb-winusb_getdescriptor)'>WinUsb_GetDescriptor |
UMDF-based client driver | IWDFUsbTargetDevice::RetrieveDescriptor](/windows-hardware/drivers/ddi/wudfusb/nf-wudfusb-iwdfusbtargetdevice-retrievedescriptor)'>IWDFUsbTargetDevice::RetrieveDescriptor |
KMDF-based client driver | WdfUsbTargetDeviceGetDeviceDescriptor](/windows-hardware/drivers/ddi/wdfusb/nf-wdfusb-wdfusbtargetdevicegetdevicedescriptor)'>WdfUsbTargetDeviceGetDeviceDescriptor |
WDM-based client driver | UsbBuildGetDescriptorRequest](/previous-versions/ff538943(v=vs.85))'>UsbBuildGetDescriptorRequest |
Icreon Wireless Usb Host Dfu Driver Updater
USB configuration descriptor
A USB configuration contains a series of interfaces. Each interface consists of one or more alternate settings, and each alternate setting is made up of a set of endpoints (see USB device layout). A configuration descriptor describes the entire configuration include its interfaces, alternate settings, and their endpoints. Each of those entities are also described in their descriptor format. A configuration descriptor can also include custom descriptors that are defined by the device manufacturer.
Therefore, only the initial portion of a configuration descriptor is fixed, 9 bytes. The rest is variable depending on the number of interfaces and their alternate settings, and endpoints that are supported by the device. In this documentation set, the initial 9 bytes are referred to as the configuration descriptor. The first two bytes of the descriptor indicates the total length.
The following example shows the configuration descriptor for the USB webcam device:
The bConfigurationValue field indicates the number for the configuration defined in the firmware of the device. A USB configuration also indicates certain power characteristics. The bmAttributes contains a bitmask that indicates whether the configuration supports the remote wake-up feature, and whether the device is bus-powered or self-powered. The MaxPower field specifies the maximum power (in milliamp units) that the device can draw from the host, when the device is bus-powered. The configuration descriptor also indicates the total number of interfaces (bNumInterfaces) that the device supports.
Icreon Wireless Usb Host Dfu Drivers
If you are writing a.. | Call.. |
---|---|
UWP app that uses Windows.Devices.Usb](/uwp/api/Windows.Devices.Usb)'>Windows.Devices.Usb | UsbDevice.ConfigurationDescriptor](/uwp/api/Windows.Devices.Usb.UsbConfigurationDescriptor)'>UsbDevice.ConfigurationDescriptor to get the fixed length portion. UsbConfiguration.Descriptors](/uwp/api/Windows.Devices.Usb.UsbConfiguration#Windows_Devices_Usb_UsbConfiguration_Descriptors)'>UsbConfiguration.Descriptors to get the entire configuration set. |
Win32 desktop app that uses WinUSB Functions | WinUsb_GetDescriptor](/windows/win32/api/winusb/nf-winusb-winusb_getdescriptor)'>WinUsb_GetDescriptor |
UMDF-based client driver | IWDFUsbTargetDevice::RetrieveDescriptor](/windows-hardware/drivers/ddi/wudfusb/nf-wudfusb-iwdfusbtargetdevice-retrievedescriptor)'>IWDFUsbTargetDevice::RetrieveDescriptor |
KMDF-based client driver | WdfUsbTargetDeviceRetrieveConfigDescriptor](/windows-hardware/drivers/ddi/wdfusb/nf-wdfusb-wdfusbtargetdeviceretrieveconfigdescriptor)'>WdfUsbTargetDeviceRetrieveConfigDescriptor |
WDM-based client driver |
USB interface descriptor
ICREON Wireless USB Host DFU Driver
An interface descriptor contains information about an alternate setting of a USB interface.
The following example shows the interface descriptor for Alternate Setting 0 of Interface 0 for the webcam device:
In the preceding example, note bInterfaceNumber and bAlternateSetting field values. Those fields contain index values that the host uses to activate the interface and one of its alternate settings. For activation, an application or a driver specifies the index value in the function call. Based on that information, the USB driver stack then builds a standard control request (SET INTERFACE) and sends it to the device. Note the bInterfaceClass field. The interface descriptor or the descriptor for any of its alternate settings specifies a class code, subclass, and protocol. The value of 0x0E indicates that the interface is for the video device class. Also, notice the iInterface field. That value indicates that there are two string descriptors appended to the interface descriptor. String descriptors contain Unicode descriptions that are used during device enumeration to identify the functionality.
If you are writing a.. | Call.. |
---|---|
UWP app that uses Windows.Devices.Usb](/uwp/api/Windows.Devices.Usb)'>Windows.Devices.Usb | UsbInterfaceSetting.Descriptors](/uwp/api/Windows.Devices.Usb.UsbInterfaceSetting#Windows_Devices_Usb_UsbInterfaceSetting_Descriptors)'>UsbInterfaceSetting.Descriptors to get a particular the descriptor for a particular alternate setting. UsbInterface.Descriptors](/uwp/api/Windows.Devices.Usb.UsbInterfaceSetting#Windows_Devices_Usb_UsbInterfaceSetting_Descriptors)'>UsbInterface.Descriptors to get descriptors for all settings of an interface. |
Win32 desktop app that uses WinUSB Functions | WinUsb_GetDescriptor](/windows/win32/api/winusb/nf-winusb-winusb_getdescriptor)'>WinUsb_GetDescriptor |
UMDF-based client driver | IWDFUsbInterface::GetInterfaceDescriptor](/windows-hardware/drivers/ddi/wudfusb/nf-wudfusb-iwdfusbinterface-getinterfacedescriptor)'>IWDFUsbInterface::GetInterfaceDescriptor |
KMDF-based client driver | WdfUsbInterfaceGetDescriptor](/windows-hardware/drivers/ddi/wdfusb/nf-wdfusb-wdfusbinterfacegetdescriptor)'>WdfUsbInterfaceGetDescriptor |
WDM-based client driver | _URB_CONTROL_GET_CONFIGURATION_REQUEST](/windows-hardware/drivers/ddi/usb/ns-usb-_urb_control_get_configuration_request)'>_URB_CONTROL_GET_CONFIGURATION_REQUEST and then parse for each interface descriptor. For more information, see How to select a configuration for a USB device. |
Icreon Wireless Usb Host Dfu Driver Win 7
USB endpoint descriptor
Each endpoint, in an interface, describes a single stream of input or output for the device. A device that supports streams for different kinds of functions has multiple interfaces. A device that supports several streams that pertain to a function can support multiple endpoints on a single interface.
All types of endpoints (except the default endpoint) must provide endpoint descriptors so that the host can get information about endpoint. An endpoint descriptor includes information, such as its address, type, direction, and the amount of data the endpoint can handle. The data transfers to the endpoint are based on that information.
The following example shows an endpoint descriptor for the webcam device:
The bEndpointAddress field specifies the unique endpoint address that contains the endpoint number (Bits 3.0) and the direction of the endpoint (Bit 7). By reading those values in the preceding example, we can determine that the descriptor describes an IN endpoint whose endpoint number is 2. The bmAttributes attribute indicates that the endpoint type is isochronous. The wMaxPacketSizefield indicates the maximum number of bytes that the endpoint can send or receive in a single transaction. Bits 12.11 indicate the total number of transactions that can be sent per microframe. The bInterval indicates how often the endpoint can send or receive data.
If you are writing a.. | Call.. |
---|---|
UWP app that uses Windows.Devices.Usb](/uwp/api/Windows.Devices.Usb)'>Windows.Devices.Usb | |
Win32 desktop app that uses WinUSB Functions | WinUsb_GetDescriptor](/windows/win32/api/winusb/nf-winusb-winusb_getdescriptor)'>WinUsb_GetDescriptor |
UMDF-based client driver | WDFUsbTargetPipe::GetInformation](/windows-hardware/drivers/ddi/wudfusb/nf-wudfusb-iwdfusbtargetpipe-getinformation)'>WDFUsbTargetPipe::GetInformation |
KMDF-based client driver | WdfUsbTargetPipeGetInformation](/windows-hardware/drivers/ddi/wdfusb/nf-wdfusb-wdfusbtargetpipegetinformation)'>WdfUsbTargetPipeGetInformation |
WDM-based client driver | _URB_CONTROL_GET_CONFIGURATION_REQUEST](/windows-hardware/drivers/ddi/usb/ns-usb-_urb_control_get_configuration_request)'>_URB_CONTROL_GET_CONFIGURATION_REQUEST and then parse for each endpoint descriptor. For more information, see How to select a configuration for a USB device. |