Usb descriptor section – Teledyne LeCroy Conquest User Manual - Users Manual User Manual
Page 237
Appendix A
227
USB Descriptor Section
The USBDescriptor Section simplifies the decoding of non-standard
descriptors. Any class or vendor-specific descriptor that is returned by the
standard GetDescriptor or SetDescriptor USB requests, is decoded in this
section. The section may include DefineOptions and ValidRanges blocks and
must include the Descriptor block. The beginning of this section is delimited by
the [USB Decode] and End keywords. Please see the description of
DefineOptions and ValidRanges block in the ProtocolDecode section.
[USB Descriptors]
<DefineOptions
Statement1;
Statement2;
…
StatementN;
EndOptions >
< ValidRanges
Statement1;
Statement2;
…
StatementN;
EndValidRanges >
< InterfaceClassId = GetInterfaceClass; >
< InterfaceSubClassId = GetInterfaceSubClass; >
< InterfaceProtocolId = GetInterfaceProtocol; >
Descriptor(Type)
{
Statement1;
Statement2;
…
StatementN;
}
End
GetInterfaceClass, GetInterfaceSubClass, GetInterfaceProtocol
Statements
These statements are available for assigning identifiers to the
“bInterfaceClass”, “bInterfaceSubClass”, and “bInterfaceProtocol” fields of the
standard Interface descriptor, respectively.