F_Ini_Acc; F_Ini_Apdu - Unitech MR350 MKII Software Manual

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

Advertisement

3.9 F_INI_ACC

This function initializes the Access Conditions registers, which is pre-requisite for creation of EF or
DF. Before useing function "F_CRT_EF" or "F_CRT_DF". User should initializes Access
Conditions registers. Access Conditions registers will reset to 0 when function "F_OPEN_ICC" or
"F_SEL_ID" is executed.
Compatible with ISO7816 or Gemplus command set
Gemplus
Function call
void F_INI_ACC( S_INI_ACC* );
Data structure of S_INI_ACC
typedef struct
{
int AccNum;
int Validity;
int KeyLevel;
unsigned char KeyId;
int Sc1Level;
int Sc1Num;
int Sc2Level;
int Sc2Num;
} S_INI_ACC;
Input parameter :
AccNum
Validity
KeyLevel
KeyId
Sc1Level
Sc1Num
Sc2Level
Sc2Num
3.10

F_INI_APDU

Initialize structure S_EX_APDU.
Compatible with ISO7816 or Gemplus command set
No
Function call
void F_INI_APDU( S_EX_APDU* new );
: 1~3 for access condition 1--3
: 0 = unrestricted access
; 2 = SC1 & SC2 protect
: 0 = EFkey is in grobal level 1 = local level
:KEY file short id
:first secret code level
:first secret code number from 0--7
:second secret code level
:second secret code number from 0--7
1 = SC1 protect
3 = access never allowed
0:grobal 1:local
0:grobal 1:local
19

Advertisement

Table of Contents
loading

Table of Contents