F_Ld_Sc - Unitech MR350 MKII Software Manual

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

Advertisement

3.12

F_LD_SC

This function loads a code into secret code file.
Compatible with ISO7816 or Gemplus command set
Gemplus
Function call
void F_LD_SC( S_LD_SC* );
Data structure of S_LD_SC
typedef struct
{
int Class;
int Mode;
unsigned char ShortId;
int CodeNum;
int CodeType;
int CodeMPN;
int UcrLevel;
int UcrNum;
unsigned char CodeValue[8];
int IdOk;
unsigned char Sw12[2];
} S_LD_SC;
Input parameter :
Class
Mode
ShortId
CodeNum
CodeType
CodeMPN
UcrLevel
UcrNum
CodeValue[] :holds secret code value
Output parameter :
IdOk
Sw12[]
:0 = NORMAL
:0:direct select
:short EFsc identifier,This is needed if Mode=1.
:code number 0-7 only.
:0 = plain mode
:1~7
:0 = global
:unlock code number 0~7
: 0 = OK
1 = Timeout
; 3 = EDC error
5 = Parity error
:SW1-SW2
1 = SECURE
1 = implicit select
1 = cipher mode
1 = local
2 = No card
7 = see SW1-SW2
21

Advertisement

Table of Contents
loading

Table of Contents