Data Sheet

Table Of Contents
94
Format
Call PD_ResetDiscoverIdentityVDO()
Parameters
None
Result
None
Examples
call PD_ResetDiscoverIdentityVDO()
5.1.72 PD_DiscoverIdentity
Starts DiscoverIdentity AMS.
Format
Call PD_DiscoverIdentity( OrderedSetType )
Parameters
OrderedSetType
possible values:
PD_ORDERED_SET_TYPE_SOP
PD_ORDERED_SET_TYPE_SOP_PRIME
PD_ORDERED_SET_TYPE_SOP_DOUBLE_PRIME
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_DiscoverIdentity(PD_ORDERED_SET_TYPE_SOP)
5.1.73 PD_WaitForDiscoverIdentity
Waits for user-defined time-out to receive DISCOVERIDENTITY command. It will respond to
incoming messages as part of DiscoverIdentity AMS.
Format
Call PD_WaitForDiscoverIdentity()
Parameters
None