DEVICE DRIVERS
iPS_GetPINResponse()
70 M
X
800 SERIES PROGRAMMERS GUIDE
iPS_GetPINResponse()
This function checks the status of the PIN session. It will typically be used by the
application in a loop to poll the system until the PIN session ends. The information
returned by this function during the PIN session can be used in conjunction with a
timer to implement an inter-character timeout as required in certain countries The
functions returns the number of PIN digits entered and the last non-numeric
pressed.
Prototype
int ippGetPINResponse (int * piStatus, PINRESULT * pOUTData)
Parameters
piStatus
OK
(0x00)
Done. Data contains the result of the comparison/
encryption.
0x01 Unit is idle
0x02 Collecting PIN
0x05 Aborted by user: The <CANCEL> key has been pressed.
0x06 NO PIN entered (Only if this option is turned on)
0x0A Aborted by user: The <CLEAR> key has been pressed
with no PIN digit in the buffer (The user had not entered
any PIN digit, or had already cleared out all the PIN
digits). This value can be obtained only if ucOption.bit4
has been set using function ippSetPINParameters().
0x0C The PIN session timed out. See Note on the PIN session
timeout.