
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.
Comentários a estes Manuais