Data Sheet

Table Of Contents
77
Examples
$getsrccapext_setting = PD_GetSourceCapExtented_Settings
{
ResponseType = PD_RESPONSE_NOT_SUPPORTED
}
Call PD_SetGetSrcCapExtSetting( $getsrccapext_setting )
5.1.35 PD_WaitForGetSrcCapExtended
Wait for user-defined time-out to receive Get_Source_Cap_Extended message. It will
respond to incoming messages as part of GetSourceCapExtended AMS.
Format
Call PD_WaitForGetSrcCapExtended()
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_MSG_NOT_RECEIVED
Subresult - Get_Source_Cap_Extended not received.
PD_SUBRESULT_RESPONSE_NOT_SUPPORTED
Subresult - Not_Supported message sent as response.
Examples
Call PD_WaitForGetSrcCapExtended()
5.1.36 PD_SetSrcCapExtDataBlock
Sets source capabilities extended Data Block in PD Exerciser. It must be called before
PD_WaitForGetSrcCapExtended or PD_DelayAutoResponse to take effect.
Format
Call PD_SetSrcCapExtDataBlock( PD_SourceCapExtDataBlock $src_cap_ext )
Parameters
$src_cap_ext
parameter type is PD_SourceCapExtDataBlock. Refer to PD_SourceCapExtendedMsg for available data
fields.
Result
None
Examples
$src_cap_ext = PD_SourceCapExtDataBlock
Call PD_SetSrcCapExtDataBlock( $src_cap_ext )