Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Bedienungsanleitung Seite 47

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 97
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 46
47
9.23 SendSCSICommand()
This function specifies to send a selected SCSI Command event to the script.
Format : SendSCSICommand( OpCode, ServiceAction,
Field Name, Field Value, Nexus Info);
Parameters
OpCode Option Code of the SCSI Command event:
_ANY
SPC3_REPORT_LUNS : 0xA0
MMC4_READ_10 : 0x28
For a complete list of SCSI Command codes, refer to Appendix C
.
ServiceAction: Service Action of the SCSI Command event. The Value combines with
the OpCode value and results in the formation of different
combinations of SCSI Commands.
OpCode + Service Action Value-1 = SCSI Command-1
OpCode + Service Action Value-2 = SCSI Command-2
Example:
0xA3 + 0x10 = MANAGEMENT_PROTOCOL_IN
0xA3 + 0x0E = REPORT_PRIORITY
0xA3 + 0x0F = REPORT_TIME_STAMP
Field Name Refer to SendSSPTransport ()
.
Field Value Refer to SendSSPTransport ()
.
Nexus Info Refer to SendSSPTransport ()
.
Example
SendSCSICommand (_ANY);
SendSCSICommand (0xA0); # Report LUN.
SendSCSICommand (0x28, _ANY, “”, 0, ‘500062B000001074’);
# MMC4_READ_10
Seitenansicht 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 96 97

Kommentare zu diesen Handbüchern

Keine Kommentare