Unitech mr350 mkii Software Guide

Page of 33
 
4
Table of contents : 
 
Introduction:...........................................................................................................................................2 
Table of contents : .................................................................................................................................4 
Chapter 1. 
System architecture ......................................................................................................6 
1.1 
System diagram : ............................................................................................................................. 6 
1.2 
Relationship between Smart Card function Library and System call :................................................ 7 
1.3 
Developing flow for user application program .................................................................................. 8 
Chapter 2. 
System function call (Firmware function call): ............................................................9 
3.1 
Check Smart Card............................................................................................................................ 9 
2.2 
Power-on Smart Card..................................................................................................................... 10 
2.3 
Power off Smart Card .................................................................................................................... 11 
2.4 
Exchange message ......................................................................................................................... 11 
Chapter 3. 
Function library ...........................................................................................................12 
3.1 
Files description of Smart Card function library ............................................................................. 12 
3.2 
How to build-up application program ............................................................................................. 12 
3.2 
F_APD_REC................................................................................................................................. 13 
3.3 
F_CHK_ICC ................................................................................................................................. 14 
3.4 
F_CLOSE_ICC ............................................................................................................................. 14 
3.5 
F_CRT_DF ................................................................................................................................... 15 
3.6 
F_CRT_EF.................................................................................................................................... 16 
3.7 
F_ERR_MSG ................................................................................................................................ 17 
3.8 
F_EX_APDU ................................................................................................................................ 18 
3.9 
F_INI_ACC................................................................................................................................... 19 
3.10 
F_INI_APDU ................................................................................................................................ 19 
3.11 
F_LD_KEY ................................................................................................................................... 20 
3.12 
F_LD_SC ...................................................................................................................................... 21 
3.13 
F_LIB_VER .................................................................................................................................. 22 
3.14 
F_OPEN_ICC ............................................................................................................................... 23 
3.15 
F_RD_BIN .................................................................................................................................... 24 
3.16 
F_RD_REC ................................................................................................................................... 25 
3.17 
F_SEL_FKEY ............................................................................................................................... 26