Erinjgetframeinvalidfield, Erinjgetframelengtherror – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 698

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ITargetEmulEngine 698
ErInjGetFrameInvalidField
ErInjGetFrameInvalidField (
short iLayerId,
int nCommand,
int nFieldId,
BOOL* pbInvalid ,
int* pnRetVal);
Inputs
short iLayerId
Layer ID of a packet (see
int nCommand
Command type corresponding to layer ID.
(see
int nFieldId
Field ID of a field to invalid it in outgoing frame (see APIHeader.h)
BOOL* pbInvalid Specifies whether field ID is selected to Invalid or not.
int* pnRetVal
Result of method, whether called by valid index and layer ID or not or other
errors.
Return Value
None.
Remark
Returns a field ID for an outgoing frame of a command is selected or not. It is useful to destroy a
field of outgoing frame of a command.
NOTE: Call this method only for the SCSI, SMP, Task, or ATA command packet and transport
packet.
See Also