beautypg.com

Usbendpdir, Usbmaxpktsize, Usbmaxxfersize – Teledyne LeCroy USB Script Decode Manual User Manual

Page 63: Usbmaxxferdecodesize, Usbclasscode, Usbsubclass, Usbprotocol

background image

57

C

HAPTER

14

CATC Scripting Language for USB

USB Decoders

UsbEndpType

Values: “Bulk” or “Interrupt”. Used to distinguish transfer types of the
endpoints.

UsbEndpDir

Values: “In” or “Out”. Used to distinguish the endpoint direction. Any
endpoint can provide 2 pipes: one in each direction.

UsbMaxPktSize

Value: The maximum packet size allowed for this endpoint/direction com-
bination. This will be used to help decode the file.

UsbMaxXferSize

Value: The maximum transfer size allowed for this endpoint/direction
combination. This will be used to help decode the file.

UsbMaxXferDecodeSize

Value: The maximum portion of the transfer size that will be examined for
possible decoding. If, for example, each transfer had a 25 byte header at
the beginning, this value could be used to improve the speed at which the
decoding occurs, since the software would only pass the first N bytes to the
decoding logic. In cases where there might be a trailer, the value would
have to be equal to the maximum transfer length to insure that the last bytes
would be examined.

UsbClassCode

Value: The value assigned by the USB IF for this particular Class. For
example, Mass Storage is 8 and the Hub Class is 9.

UsbSubClass

Value: If defined, it is specified by the Class Specification. For example,
the Mass Storage Class provides for SubClass 4 for UFI (USB Floppy
Interface) and SubClass 6 for Transparent SCSI.

UsbProtocol

Value: If defined, it is specified by the Class Specification. For example,