beautypg.com

4 iusbpacket::getchannel, 5 iusbpacket::gettype, Iusbpacket::getchannel – Teledyne LeCroy USB Analyzer Automation Manual User Manual

Page 75: Iusbpacket::gettype

background image

Teledyne LeCroy Automation API Reference Manual for USBTracer, USB Advisor, and Voyager USB Protocol
Suite

75


HRESULT GetSpeed( [out, retval] int* speed )

Gets the speed of packet.

Parameters

speed

Points to integer value where speed is retrieved

Return values

Remarks

Speeds has following values:

0 : High Speed

1 : Full Speed

2 : Low Speed

3 : Unknown

4 : Super Speed

4.1.4 IUsbPacket::GetChannel


HRESULT GetChannel( [out, retval] int* channel )

Gets the channel number of packet.

Parameters

Channel

Points to integer value where channel is retrieved.

Return values

Remarks

Channel has following values:

0 : Usb2 Channel 0

1 : Usb2 Channel 1
2 : Usb2 Channel 2
3 : Usb2 Channel 3
4 : Usb3 Rx Channel 0

5 : Usb3 Tx Channel 0

6 : Usb3 Rx Channel 1

7 : Usb3 Tx Channel 1


4.1.5 IUsbPacket::GetType


HRESULT GetType(
[out] VARIANT* is_usb3,
[out] VARIANT* is_bus_condition,
[out, retval] int* type )