F_Open_Icc - Unitech MR350 MKII Software Manual

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

Advertisement

3.14

F_OPEN_ICC

Reset Smart Card and get Answer To Reset. This function sets Access Condition 1,2 and 3 to zero.
Compatible with ISO7816 or Gemplus command set
No
Function call
void F_OPEN_ICC( S_OPEN_ICC* );
Data structure of S_OPEN_ICC
typedef struct
{
int Smart CardType;
int AtrReady;
int AtrLen;
unsigned char AtrBuf[MaxATR];
int HistLen;
int HistOffset;
} S_OPEN_ICC;
Input parameter :
Smart CardType
Output parameter :
AtrReady
AtrLen
AtrBuf[]
HistLen
HistOffset
:Reserve for Future Use.
:0=OK
1=Timeout
;4=data not stable 5=Parity error
:holds ATR length ,from TS to TCK.
:holds ATR char, at most 32 char (7816-3,6.1.4)
:holds the number of history char, from T1 to TK
:History char start from Atr_buf[Hist_offset]
2=No card
23

Advertisement

Table of Contents
loading

Table of Contents