Power-On Smart Card - Unitech MR350 MKII Software Manual

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

Advertisement

2.2 Power-on Smart Card

This function informs Smart Card reader to supply power to VCC pin on Smart card and it also
needs to send pointer of ATR (Answer to reset) structure to get its status
Entry Parameter
INT 06H
AH = 1
ES:DI=
Output Value
AH = 0
1
2
4
5
Below is ATR structure
typedef struct
{
int Smart CardType;
int AtrReady;
int AtrLen;
unsigned char AtrBuf[MaxATR];
int HistLen;
int HistOffset;
} S_OPEN_ICC;
POWER ON Smart Card
Buffer of ATR structure
Successfully power-on
If AH=0 CX = ATR length
Time-out ( 1 Sec ,RETRY=1 )
No card present
Data pin not stable
Parity error
; Reserve for Future Use
; 0 = OK
; 1 = Timeout
; 2 = No card
; 4 = data not stable
; 5 = Parity error
; holds ATR length ,from TS to TCK
; character ( refer to ISO-7816-3,6.1.4)
; holds the number of history char, from T1 to
; TK
; History char start from Atr_buf[Hist_offset]
10
; holds ATR char, at most 32

Advertisement

Table of Contents
loading

Table of Contents