Data Sheet

Table Of Contents
68
5.1.19 PD_SetSwapVConnSetting
Applies settings to Swap VConn related commands in PD Exerciser. It must be called
before PD_SwapVConn or PD_WaitForSwapVConn or PD_DelayAutoResponse commands to take effect.
Format
Call PD_SetSwapVConnSetting( PD_SwapResponse_Settings $settings )
Parameters
$settings
Should be from PD_SwapResponse_Settings type. Table below describes the
PD_SwapResponse_Settings template and specific settings related to Swap VConn:
Field Name
Description
SwapResponse
Response type. Possible values:
PD_MESSAGE_TYPE_ACCEPT(default)
PD_MESSAGE_TYPE_REJECT
PD_MESSAGE_TYPE_WAIT
WaitTimeout
Timeout(micro second) to wait in order to receive
VCONN_SWAP message
Default: PD_DEFAULT_TIMEOUT_INFINIT
SkipSwap
If set to PD_TRUE, the command skips VConn swap.
Possible values:
PD_TRUE
PD_FALSE(Default)
RetryCountOnWait
Indicates the retry count after receiving Wait Message in
response to sent VConnSwap Message.
Default: 2
RetryDelayOnWait
Indicates the retry delay time upon receiving Wait Message
in response to sent VConnSwap Message.
Default: 20000
Result
None
Examples
#Using default settings
$settings = PD_SwapResponse_Settings
call PD_SetSwapVConnSetting( $settings )
5.1.20 PD_SwapVConn
Tries to swap VConn. It will start the Swap VConn AMS.
Format
Call PD_SwapVConn()
Parameters
None
Result
User can evaluate the command results(including sub-results) using IfMatched/ElseMatched
command.
List of result values:
Result Value
Description