Data Sheet

Table Of Contents
73
PD_SUBRESULT_RESPONSE_REJECT
Subresult - Reject has been sent as request message
response
PD_SUBRESULT_RESPONSE_NOT_SUPPORTED
Rev3.0 only. Subresult - Not_Supported has been sent
as response
Examples
Call PD_WaitForGetSourceCapabilities()
5.1.28 PD_SetGetSinkCapSetting
Applies settings to GetSinkCap related commands in PD Exerciser. It must be called before
PD_WaitForGetSinkCapabilities or PD_DelayAutoResponse to take effect.
Format
Call PD_SetGetSinkCapSetting( PD_GetCapability_Settings $settings )
Parameters
$settings
Setting type is PD_GetCapability_Settings. For available fields of this type refer to
PD_SetGetSourceCapSetting.
Result
None
Examples
$getsnkcap_setting = PD_GetCapability_Settings
{
ResponseType = PD_RESPONSE_NOT_SUPPORTED
}
Call PD_SetGetSinkCapSetting( $getsnkcap_setting )
5.1.29 PD_GetSinkCapabilities
Starts the GetSinkCapabilities AMS.
Format
Call PD_GetSinkCapabilities()
Parameters
None
Result
User can evaluate the command results(including sub-results) using IfMatched/ElseMatched
command.
List of result values:
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_RESPONSE_REJECT
Subresult - Reject received as response
PD_SUBRESULT_RESPONSE_TIMEOUT
Subresult - No messages received as response
PD_SUBRESULT_RESPONSE_NOT_SUPPORTED
Rev3.0 only. Subresult - Not_Supported received as