Data Sheet

Table Of Contents
72
5.1.26 PD_GetSourceCapabilities
Starts GetSourceCapabilities AMS.
Format
Call PD_GetSourceCapabilities()
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
response
Examples
Call PD_GetSourceCapabilities()
5.1.27 PD_WaitForGetSourceCapabilities
Waits for user-defined time-out to receive Get_Source_Cap message. It will respond to
incoming messages as part of the Get_Source_Cap AMS.
Format
Call PD_WaitForGetSourceCapabilities()
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 message not received
PD_SUBRESULT_REQUEST_MSG_INVALID_INDEX
Subresult - Invalid index in request message
PD_SUBRESULT_RESPONSE_WAIT
Subresult - Wait has been sent as request message
response