Erinjsetinsertprimitive – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 728
Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ITargetEmulEngine 728
ErInjSetInsertPrimitive
ErInjSetInsertPrimitive (
short iLayerId,
int nCommand,
BOOL bEnable,
int nPrimitiveType,
PrimitiveTypeEnum ePrimitiveGroupType ,
short iOffsetFromFrameStart,
short iRepeatCount,
int* pnRetVal);
Inputs
short iLayerId
Layer ID of a packet (see
int nCommand
Command type corresponding to layer ID.
(see
BOOL bEnable
Specifies whether inserting primitive is selected or
not.
int nPrimitiveType
Value of primitive to insert for an outgoing frame of
a command.
PrimitiveTypeEnum ePrimitiveGroupType Type of primitive to insert for
an outgoing frame of a command.
(see
short iOffsetFromFrameStart
Offset of primitive to insert for an outgoing
frame of a command in DWORD format.
short iRepeatCount
Count of primitive to insert for an outgoing
frame of a command.
int* pnRetVal
Result of method, whether called by valid index and
layer ID or not or other errors.
Return Value
None.
Remark
Sets insert primitive feature such as type of primitive, value, count and offset for an outgoing
frame of a command.
NOTE: Call this method only for the SCSI, SMP, Task, or ATA command packet and transport
packet.