Data Sheet

Table Of Contents
100
PD_ORDERED_SET_TYPE_SOP_PRIME
PD_ORDERED_SET_TYPE_SOP_DOUBLE_PRIME
selectedSvid
Indicates the SVID value
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_RESPONSE_TIMEOUT
Subresult - No response received
PD_SUBRESULT_RESPONSE_NAK
Subresult - NAK received as response
PD_SUBRESULT_RESPONSE_BUSY
Subresult - BUSY received as response
Examples
call PD_DiscoverModes(PD_ORDERED_SET_TYPE_SOP,0xFF00)
5.1.84 PD_WaitForDiscoverModes
Waits for user-defined time-out to receive DISCOVERMODE command. It will respond to
incoming messages as part of DiscoverModes AMS.
Format
Call PD_WaitForDiscoverModes()
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 - DISCOVERMODES 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
call PD_WaitForDiscoverModes()