Description This command is only used for ATMs; it causes presentation of the currency. It can be used only following the WFS_CMD_CDM_DISPENSE command (with bPresent = FALSE).
The command completes when the bills are positioned at the exit slot of the device. A service event is generated to report the user has removed the bills. If no event is received within a reasonable time period, the application should send a WFS_CMD_CDM_RETRACT to clear the bills from the exit. On devices which do not have the ability to detect when bills are taken (see WFS_INF_CDM_CAPABILITIES) the service event is generated as soon as the bills are available to the user.
Input Param None.
Output Param None.
Error Codes The following additional error codes can be generated by this command:
Value Meaning
WFS_ERR_CDM_EXCHANGEACTIVE The CDM service is in an exchange state (see WFS_CMD_CDM_START_EXCHANGE).
WFS_ERR_CDM_NOBILLS There were no bills on the stacker to present.
WFS_ERR_CDM_SHUTTERNOTOPEN The shutter is not open or did not open when it should have. No bills presented.
WFS_ERR_CDM_SHUTTEROPEN The shutter is open when it should be closed. No bills presented.
WFS_ERR_CDM_PRERRORNOBILLS There was an error during the present operation - no bills are presented.
WFS_ERR_CDM_PRERRORBILLS There was an error during the present operation - at least some of the bills are presented.
WFS_ERR_CDM_PRERRORUNKNOWN There was an error during the present operation - the position of the bills is unknown. Intervention may be required to reconcile the cash amount totals.
Events The following additional events can be generated:
Value Meaning
WFS_SRVE_CDM_BILLSTAKEN The bills presented have been removed by the user.
Comments None.