Data Sheet

Table Of Contents
113
Result
None
Examples
PD_Set $PdGlobalSettings.EnableCableEmulator = PD_TRUE
.
.
#Using default settings
$settings = PD_DiscoverSvids_Settings
call PD_SetDiscoverSVIDSetting_Cable( $settings )
5.1.106 PD_WaitForDiscoverSvids_Cable
Waits for user-defined time-out to receive DISCOVERSVID command. It will respond to
incoming messages as part of DiscoverSVIDs AMS.
Note - PD Exerciser should also act as Cable Plug to be able to process this command.
Format
Call PD_WaitForDiscoverSvids_Cable()
Parameters
None
Result
User can evaluate the command results(including sub-results) using IfMatched/ElseMatched
command.
Result Value
Description
PD_RESULT_OK
Command succeeded
PD_RESULT_FAILED
Command failed. In this case corresponding sub
results for PD_SendPacket and
PD_ReceivePacket are valid also (depends on the
error type which has been occurred during sending
or receiving data).
PD_SUBRESULT_MSG_NOT_RECEIVED
Subresult - DISCOVER_SVIDS message not received
PD_SUBRESULT_RESPONSE_NAK
Subresult - NAK has been sent as response
PD_SUBRESULT_RESPONSE_BUSY
Subresult - BUSY has been sent as response
Examples
PD_Set $PdGlobalSettings.EnableCableEmulator = PD_TRUE
.
.
Call PD_WaitForDiscoverSvids_Cable()
5.1.107 PD_AddSvid_Cable
Adds SVIDs to PD Exerciser. It must be called before PD_WaitForDiscoverSvids_Cable or
PD_DelayAutoResponse commands to take effect.
Note - PD Exerciser should also act as Cable Plug to be able to process this command.
Format
Call PD_AddSvid_Cable(value)