beautypg.com

9 itrace::getpacket, Itrace::getpacket, Catc ver. 1.40 – Teledyne LeCroy Automation API for Bluetooth Analyzers User Manual

Page 49

background image

43

Automation API for CATC Bluetooth Analyzers

CATC

Ver. 1.40

2.4.9 ITrace::GetPacket

Retrieves raw packet representation

Parameters

packet_number

-

number of packet to retrieve

packet

-

raw packet representation

number_of_bits

-

number of bits in raw packet representation

Return values

ANALYZERCOMERROR_INVALIDPACKETNUMBER

-

specified packet number is invalid

Remarks

Packet

” parameter has

VT_ARRAY | VT_VARIANT

actual automation type. Each element of

this array has

VT_UI1

automation type. Since the last element of the array may contain

extra data, you need to use

number_of_bits

parameter to determine actual packet data.

Example

VBScript:

ID = Analyzer

CLASSID = "clsid:0B179BB3-DC61-11d4-9B71-000102566088" >