Data Sheet

Table Of Contents
105
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 - EXITMODE message not received
PD_SUBRESULT_RESPONSE_NAK
Subresult - NAK has been sent as response
Examples
call PD_WaitForExitMode()
5.1.92 PD_Attention
Starts Attention AMS.
Format
Call PD_Attention( OrderedSetType, selectedSvid, modeIndex )
Parameters
OrderedSetType
Indicates the ordered set type. possible values:
PD_ORDERED_SET_TYPE_SOP
PD_ORDERED_SET_TYPE_SOP_PRIME
PD_ORDERED_SET_TYPE_SOP_DOUBLE_PRIME
selectedSvid
Indicates the SVID
modeIndex
Indicates the mode index related to the specified SVID
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 are valid also (depends
on the error type which has been occurred during
sending data).
Examples
call PD_Attention(PD_ORDERED_SET_TYPE_SOP, 0xFF01, 1 )
5.1.93 PD_AttentionVdo
Starts Attention AMS.
Format
Call PD_AttentionVdo( OrderedSetType, selectedSvid, modeIndex, PD_Generic_VDO
$Vdo )
Parameters