25 sendsmpcommand(), Smpc, Ommand – Teledyne LeCroy SAS_SATA Protocol Suite Verification Script Engine Reference Manual User Manual
Page 49
![background image](/manuals/353604/49/background.png)
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
Field Name
Refer to
Field Value
Refer to
Nexus Info
Refer to
Example
…
SendSMPCommand (_ANY);
SendSMPCommand (0x00); # Report general.
SendSMPCommand (0x10); # Discover.
SendSMPCommand (0x11, "", 0, '500062B000001074');
# Report phy error log.