Insertpacket, Insertpacketbydata – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 463
Advertising

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
IExerciserEngine 463
InsertPacket
int InsertPacket (
int nIndex,
short iLayerID,
short iFormatID,
BSTR bstrName);
Inputs
int nIndex
Object index to inset packet in that position.
short iLayerID
Layer ID of a packet
(see
short iFormatID
Format or type of packet.
For ATAPI, PACKET command type of
To insert a transport frame, see
To insert an Identify frame, use ID_ADDRESS_FRAME_TYPE_IDENTIFY.
BSTR bstrName
Name of a packet.
Return Value
Returns result of method, whether called by valid index and layer ID or not.
Remark
Adds a packet in an index with default value in a layer.
To insert an instruction, see
Advertising