Data Sheet

Table Of Contents
111
Examples
PD_Set $PdGlobalSettings.EnableCableEmulator = PD_TRUE
.
.
#Using default settings
$settings = PD_DiscoverIdentity_Settings
call PD_SetDiscoverIdentitySetting_Cable( $settings )
5.1.102 PD_WaitForDiscoverIdentity_Cable
Waits for user-defined time-out to receive DISCOVERIDENTITY command. It will respond to
incoming messages as part of DiscoverIdentity AMS.
Note - PD Exerciser should also act as Cable Plug to be able to process this command.
Format
Call PD_WaitForDiscoverIdentity_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_IDENTITY 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_WaitForDiscoverIdentity_Cable()
5.1.103 PD_AddDiscoverIdentityVDO_Cable
Adds DiscoverIdentity VDO(for cable) in PD Exerciser. It must be called before
PD_WaitForDiscoverIdentity_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_AddDiscoverIdentityVDO_Cable( PD_DiscoverIdentity_VDO $vdo )
Parameters