DEVICE DRIVERS
iPS_GetPINResponse()
M
X
800 SERIES PROGRAMMERS GUIDE 71
pOUTData Pointer to an object of the following type:
typedef struct {
unsigned char nbPinDigits;
unsigned char encPinBlock[8];
} PINRESULT;
This structure will return different information depending on the status of
the PIN session. If *piStatus is equal to:
OK(0x00) Done.
0x01 Unit is idle
0x02: Collecting PIN
pOUTData
->nbPinDigits
Number of PIN digits
entered (PIN length).
pOUTData
->encPinBlock
contains no relevant
information.
pOUTData
->encPinBlock
contains no relevant
information.
pOUTData
->nbPinDigits
Number of PIN digits entered
so far.
pOUTData
->encPinBlock
The first byte of the buffer
contains the value of the last
non-numeric key pressed.
Values can be:
• 0x00: No non-numeric key
has been pressed since the
last call to
iPS_GetPINResponse().
• 0x0D: <ENTER> key
• 0x0D: <CLEAR> key
• 0xF9: The user attempted to
enter one more PIN digit
than the maximum number
allowed (ucMax)
• Any other non-numeric key
value defined in the hotspot
table.