118 of 124 |
Device Framework Tests
Ex
ami
n
er
U
se
r
G
u
ide
9.9
Halt Endpoint Test
Test Summary
Examiner issues a series of requests (Get Status, Set Feature, Clear Feature, Get Status) to
ensure the device’s bulk and interrupt endpoints properly enter and exit a Halt status. Several
fields in the Configuration and Interface descriptors are also checked.
Test Steps and Expected Results
1.
Examiner initializes link to U0.
2.
Examiner issues several standard descriptor requests, including two requests for the
configuration descriptor and a Set Configuration (1).
Configuration Descriptor
The configuration descriptor must be at least 9 bytes in length.
The bLength field in the Configuration descriptor must be equal to 0x09.
The bDescriptorType field in the Configuration descriptor must be equal to
CONFIGURATION (0x02).
The configuration descriptor must show at least one interface descriptor.
Interface Descriptor
The bInterfaceNumber field in the first Interface descriptor must be set to
one.
The bAlternate Setting field in the first Interface descriptor must be set to
zero.
The bLength field in the first Interface descriptor must be greater than 0x08.
The bDescriptorType field in the first Interface descriptor must be set to
INTERFACE (0x04).
3.
Examiner issues a Set Interface (0) with ALT= 0, then a Get Interface.