112 of 124 |
Device Framework Tests
Ex
ami
n
er
U
se
r
G
u
ide
For interface 0, bInterfaceNumber must be equal to 0 (0x00).
For interface 0, bAlternateSetting must be equal to 0 (0x00).
The bLength filed in the Interface Descriptor(s) must be greater than 8
(1000b).
The bDescriptorType field in the Interface Descriptor must be equal to
INTERFACE (0x04).
Examiner verifies that the device’s Interface Descriptor changes its alternate
setting.
3.
In the Addressed state test, Examiner sets the Interface to 0 then issues a Get Status
request to interface 1, followed by a Set Interface request to interface 1. Expected results
described above are applicable, in addition to the expected results below.
The device MUST stall the Get Status request to interface 1.
The device MUST stall the Set Interface request to interface 1.
Specification Reference
USB Command Verifier Compliance Test Specification TD9.4.
9.5
Endpoint Descriptors Test
Test Summary
Examiner verifies that all Endpoint Descriptors are formatted properly. Some checks are also
made on the Configuration Descriptor. 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 Endpoint Descriptors
are verified.
The configuration descriptor must be at least 9 bytes in length.