Getdevicetype, Setdevicetype – Teledyne LeCroy Sierra SAS_SATA Protocol Analyzer STX API Reference Manual User Manual
Page 663

Sierra SAS/SATA Protocol Suite, STX Software API Reference Manual
ITargetEmulEngine 663
GetDeviceType
Void GetDeviceType(
int
nDeviceIndex,
DeviceConfiguartionTypeEnum* peDeviceType);
Inputs
int
nDeviceIndex
This parameter indicates
board index. This parameter is
set to zero if there is no
cascading.
DeviceConfiguartionTypeEnum* peDeviceType
This parameter specifies
which port configuration has
been set to engine.
Return Value
None.
Remark
Returns port configuration for selected board.
SetDeviceType
Void SetDeviceType(
int
nDeviceIndex,
DeviceConfiguartionTypeEnum eDeviceType);
Inputs
int
nDeviceIndex
This parameter indicates board
index. This parameter is set to zero
if there is no cascading.
DeviceConfiguartionTypeEnum eDeviceType
This parameter specifies which
port configuration will be set to
engine.
Return Value
None.
Remark
Sets port configuration to selected board.