3.23
F_VERIFY
This function presents a code to the card.
Compatible with ISO7816 or Gemplus command set
IS7816
if class = normal
Genplus if class = secure
Function call
void F_VERIFY( S_VERIFY* );
Data structure of S_VERIFY
typedef struct
{
int Class;
int ScNumber;
unsigned char ScValue[9];
int IdOk;
unsigned char Sw12[2];
} S_VERIFY;
Input parameter :
Class
ScNumber
ScValue[]
Output parameter : This function updates the following parameters.
IdOk
Sw12[]
:0:NORMAL
1:SECURE
:secret code number from 0 to 7
:secret code valure(8 byte)
: 0 = OK
1 = Timeout
; 3 = EDC error
5 = Parity error
:SW1-SW2
2 = No card
7 = see SW1-SW2
32