Data Sheet

Table Of Contents
79
Parameters
$settings
Parameter type is PD_GetStatus_Settings. Available fields for this type are:
Field Names
Description
WaitTimeout
Wait TimeOut(micro second) to receive GetStatus
message.
Default: PD_DEFAULT_TIMEOUT_INFINIT
ResponseType
Indicates response upon receiving the GetStatus
message.
Possible values:
PD_RESPONSE_NOT_SUPPORTED,
PD_RESPONSE_UNSPECIFIED(default)
Result
None
Examples
$getstatus_setting = PD_GetStatus_Settings
{
ResponseType = PD_RESPONSE_NOT_SUPPORTED
}
Call PD_SetGetStatusSetting( $getstatus_setting )
5.1.40 PD_WaitForGetStatus
Waits for user-defined time-out to receive Get_Status message. It will respond to
incoming messages as part of GetStatus AMS.
Format
Call PD_WaitForGetStatus( )
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_Status message not received.
PD_SUBRESULT_RESPONSE_NOT_SUPPORTED
Subresult - Not_Supported message sent as response.
Examples
Call PD_WaitForGetStatus()