F_Crt_Ef - Unitech MR350 MKII Software Manual

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

Advertisement

3.6 F_CRT_EF

This function creates an Elementary File. User should use function F_INI_ACC
to load Access Condition before creates DF/EF.
Compatible with ISO7816 or Gemplus command set
Gemplus
Function call
void F_CRT_EF( S_CRT_EF* );
Data structure of S_CRT_EF
typedef struct
{
int Class;
unsigned char FileId[2];
int FDB;
int RecLen;
int BodyLen;
int IdOk;
unsigned char Sw12[2];
unsigned char CRYin[3];
unsigned char CRYout[3];
} S_CRT_EF;
Input parameter :
Class
FileId[]
FDB
RecLen
BodyLen
Output parameter : This function updates the following parameters.
IdOk
Sw12[]
CRYin[]
CRYout[]
: 0 = NORMAL
; 1 = SECURE
: EF identifier
: File descrirtion byte
: record length (for fix length structure only) 0:other
: 0x0000--0xFFFF
: 0 = OK
1 = Timeout
; 3 = EDC error
5 = Parity error
:SW1-SW2
:CRYcks 2,1,0 only for secure message
:CRYcks 7,6,5 only for secure message
2 = No card
7 = see SW1-SW2
16

Advertisement

Table of Contents
loading

Table of Contents