F_Sel_Fkey - Unitech MR350 MKII Software Manual

Data collection terminal
Hide thumbs Also See for MR350 MKII:
Table of Contents

Advertisement

3.17

F_SEL_FKEY

Computes a temporary administration key using a specified key. The temporary administration key
is used for secure messaging. Only one temporary key is allowed at a given time.
Compatible with ISO7816 or Gemplus command set
Genplus
Function call
void F_SEL_FKEY( S_SEL_FKEY* );
Data structure of S_SEL_FKEY
typedef struct
{
int KeyNum;
int KeyLevel;
unsigned char KeyId;
unsigned char TerRand[8];
int IdOk;
unsigned char Sw12[2];
unsigned char RespRN[8];
unsigned char RespR[4];
} S_SEL_FKEY;
Input parameter :
KeyNum
KeyLevel :0:key is in grobal level
KeyId
TerRand[] :store terminal random data
Output parameter : This function updates the following parameters.
IdOk
Sw12[]
RespRN[]
RespR[]
:key number (0,2,4,6 is accept)
:KEY file short id
: 0 = OK
; 3 = EDC error
:SW1-SW2
:RN7---RN0
:R3---R0
1:local level
1 = Timeout
2 = No card
5 = Parity error
7 = see SW1-SW2
26

Advertisement

Table of Contents
loading

Table of Contents