Data Sheet

Table Of Contents
85
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 - Alert message not received.
PD_SUBRESULT_RESPONSE_NOT_SUPPORTED
Subresult - Not_Supported message sent as response.
Examples
Call PD_WaitForAlert()
5.1.53 PD_GetBatteryCap
Starts the GetBatteryCap AMS.
Format
Call PD_GetBatteryCap()
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_TIMEOUT
Subresult - No response received.
PD_SUBRESULT_RESPONSE_NOT_SUPPORTED
Subresult - Not_Supported message received.
Examples
Call PD_GetBatteryCap()
5.1.54 PD_SetGetBatteryCapDataBlock
Sets the GetBatteryCap Data Block in PD Exerciser. It must be called before
PD_GetBatteryCap command to take effect.
Format
Call PD_SetGetBatteryCapDataBlock( PD_GetBatteryCapDataBlock $get_battery_cap_db
)
Parameters