beautypg.com

Grouptype=vendor, Allrequests, Request(...) – Teledyne LeCroy USB Chief - File Based Decode Manual User Manual

Page 9: Allrequests request(...)

background image

5

C

OMPUTER

A

CCESS

T

ECHNOLOGY

C

ORPORATION

USB R

EQUEST

D

EFINITION

(.

REQ

) F

ILES

Reference Manual

defines the Human Interface Device (HID) class code.

GroupType=Vendor

GroupType=Vendor

indicates that the file defines a set of vendor-specific USB

requests. This group type also requires

VendorID

and

ProductID

entries.

These values are used to uniquely identify the Vendor Decoding group when it is
associated with Request Recipients in a trace file. The value for

VendorID

is the

assigned vendor ID. The value for

ProductID

doesn't actually have to match the

real product ID for the device. For example:

GroupType=Vendor
VendorID=0x0423
ProductID=0x000D

AllRequests

The

AllRequests

keyword is used to specify the

bRequest

values for all of

the requests described in the .req file. The

AllRequests

definition uses the

following format:

AllRequests=
{

<bRequest>=<RequestNameString>
...

}

The value

bRequest

is is the USB-assigned value, and is represented numerically.

RequestNameString

is the textual representation of

bRequest

. It also rep-

resents the name of the request that will appear in the Request Decoding dialog. For
example:

AllRequests=
{

0x00=REQUEST_NAME_0
0x01=REQUEST_NAME_1

}

Note: it's not necessary for the numeric

bRequest

values to start from zero or to

increase sequentially. In addition, the numeric values may be in decimal or hexa-
decimal.

Request(...)

Request(...)

defines a request listed in the

AllRequests

entry. Request

definitions follow the format