4.3 WFS_CMD_IDC_EJECT_CARD

Description The card is driven to the exit slot from where the user can remove it; applicable only to motor driven card readers. After successful completion of this command, a service event message is generated to inform the application when the card is taken. The card remains in position for withdrawal until either it is taken or the application sends a WFS_CMD_IDC_RETAIN command to retain the card internally.

Input Param None.

Output Param None.

Error Codes The following additional error codes can be generated by this command:

Value Meaning

WFS_ERR_IDC_MEDIAJAM The card is jammed. Operator intervention is required.

WFS_ERR_IDC_SHUTTERFAIL The open of the shutter failed due to manipulation or hardware error. Operator intervention is required.

WFS_ERR_IDC_NOMEDIA No card is present.

WFS_ERR_IDC_MEDIARETAINED The card has been retained during attempts to eject it. The device is clear and can be used.

Events The following additional events can be generated by this command:

Value Meaning

WFS_SRVE_IDC_MEDIAREMOVED The card has been taken by the user.

Comments This is a fundamental capability of an ID card unit; thus if an eject request is received by a device with no eject capability, the WFS_ERR_UNSUPP_COMMAND error is returned.