beautypg.com

Chapter 7: decoding usb/wusb requests, 1 class and vendor definition files, Chapter 7 – Teledyne LeCroy UWBTracer User Manual User Manual

Page 99: Decoding usb/wusb requests

background image

UWBTracer/Trainer User Manual

Chapter 7: Decoding USB/WUSB Requests

LeCroy Corporation

81

Chapter 7: Decoding USB/WUSB

Requests

7.1 Class and Vendor Definition Files

LeCroy analyzers use script files to decode class and vendor requests. The script files
are read when the application is initialized. After reading, the Analyzer decodes class and
vendor requests as instructed by the files.

Decoding uses .dec decoder files, which describe Class or Vendor requests in a C-like
language. Each .dec file stores an endpoint or request decode. When the application
starts, these files are loaded dynamically. Subdirectories are supported.

For information about legacy script decoding, see Appendix C “Legacy Script Decoding”
on page 291.

Note: The .dec files listed in the following table are in the Scripts directory under the
installation directory. See Section 3.18 "Directory Structure on Windows XP and Vista" on
page 47:

USB Decode

USB
Decoder
Name

USB-IF

Base
Class

Codes

Sub
Class

Proto-
col
ID

Audio Class decoding 2.0
AudioClass\Audio1.0Requests.dec
AudioClass\Audio2.0Requests.dec

Audio

01h

Communications and CDC Control
Direct Line Control Model
Abstract Control Model
Telephone Control Model
Multi-Channel Control Model
CAPI Control Model
Ethernet Networking Control Model
ATM Networking Control Model
Wireless Handset Control Model
Device Management Model
Mobile Direct Line Model
OBEX Model
Communication Device Subclass/EEM
Communications\CommRequests.dec
Communications\CommInterrupt.dec
Communications\CommCDCEEM.dec

CCID
CCID
CCID
CCID
CCID
CCID
CCID
CCID
CCID
CCID
CCID
CCID
CCID

02h
02h
02h
02h
02h
02h
02h
02h
02h
02h
02h
02h
02h

01h
02h
03h
04h
05h
06h
07h
08h
09h
0Ah
0Bh
0Ch