Teledyne-lecroy SAS_SATA Protocol Suite Verification Script Engine Uživatelský manuál Strana 49

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 97
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 48
49
9.25 SendSMPCommand()
This function specifies to send a selected SMP Command event to the script.
Format : SendSMPCommand( Function, Field Name, Field Value, Nexus Info);
Parameters
Function Function code of the SMP Command event:
_ANY
SMP_REPORT_GENERAL = 0x00;
SMP_REPORT_MANUFACTURER_INFO = 0x01;
SMP_DISCOVER = 0x10;
SMP_REPORT_PHY_ERROR_LOG = 0x11;
SMP_REPORT_PHY_SATA = 0x12;
SMP_REPORT_ROUTE_INFO = 0x13;
For a complete list of SMP Function and function-result codes, refer to
Appendix D
.
Field Name Refer to SendSSPTransport ()
.
Field Value Refer to SendSSPTransport ()
.
Nexus Info Refer to SendSSPTransport ()
.
Example
SendSMPCommand (_ANY);
SendSMPCommand (0x00); # Report general.
SendSMPCommand (0x10); # Discover.
SendSMPCommand (0x11, "", 0, '500062B000001074');
# Report phy error log.
Zobrazit stránku 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 96 97

Komentáře k této Příručce

Žádné komentáře