110 of 124 |
Device Framework Tests
Ex
ami
n
er
U
se
r
G
u
ide
Specification Reference
USB Command Verifier Compliance Test Specification TD9.1.
9.2
Standard Configuration Descriptor Test
Test Summary
Examiner verifies that the configuration descriptor request is completed properly. The test is
performed three times- once each for the default, addressed, and configured states.
Test Steps and Expected Results
1.
Examiner initializes link to U0.
2.
Examiner issues several standard descriptor requests, including a several Configuration
Descriptor requests (both short and long). Various attributes of the Configuration
Descriptor are verified. Various attributes of embedded descriptors are also checked
(Endpoint, Interface, etc.). The test also verifies that the Other Speed Configuration
descriptor request is stalled.
The configuration descriptor must be at least 9 bytes in length.
The bLength field must be equal to 0x09.
The bDescriptorType field must be equal to CONFIGURATION (0x02).
The bLength field must be equal to 0x09.
Other descriptors types (bDescriptorType) included within the Configuration
Descriptor response from the device must be equal to ENDPOINT (0x05),
INTERFACE (0x04), CS_INTERFACE, or CS_INTERFACE_ASSOCIATION.
The bNumInterfaces field in the Configuration Descriptor must be equal to the
quantity of Interface Descriptors.
The bNumEndpooints field in the Interface Descriptor(s) must be equal to
quantity of endpoints included in each interface.
The bNumEndpooints field in the Interface Descriptor(s) must NOT be equal to
zero.