User Manual
Table Of Contents
- E7 IC Card Reader Introduction
- 1.1 Overview
- 1.2 Features
- 1.3 Device Interface
- 1.4 Peader Packing List
- 1.5 Software
- 1.6 Reader Type Description
- 1.7 Function Instruction
- 1.8 API Function List
- Common Functions
- Device Function
- Keyboard Specific Functions
- S50 card functions
- S70 card specific function
- Ultralight card specific function
- Ultralight-C card specific function
- Mifare pro card specific function
- Mifare PLUS card specific function
- Contactless CPU card(ISO14443) specific function
- Desfire card specific function
- CPU(SAM) card specific functions
- 4442 card-specific functions
- 4428 Card-Specific Functions
- 1.9 Error codes and Meanings
- 2. API Function
- 2.1 Common Functions
- 2.2 Device Functions
- 2.3 Keyboard Special Functions
- 2.4 S50(M1)Functions
- 2.5 S70 card specific function
- 2.6 Ultralight card specific function
- 2.7 Ultralight-Ccard specific function
- 2.8 Mifare Pro card specific function
- 2.9 Contactless CPU card(ISO1443) specific functi
- 2.10 Desfirecard specific function
- 2.11 Mifare Plus card specific function
- 2.12 CPU(SAM)Functions
- 2.13 SLE4442 special Functions
- 2.14 SLE4428 special Functions
- 3.MIFARE ONE Card Structure
- 4.Appendix

24
Example
int st;
unsigned long snr;
st=fw_anticoll(icdev,0,&snr);
Remark
This function shoud be called immediately after the function fw_request unless
we have know the card serial number.
int fw_select(int icdev,unsigned long _Snr,unsigned char *_Size);
Description
Select one card with specified serial number from several cards
Parameters
icdev:Value of Device Handle.
_Snr:Card serial number.
_Size:[out] The size of card capacity.
Return Value
0 if successful; otherwise, Nonzero.
Example
int st,type;
unsigned char size;
unsigned long snr;
fw_request(icdev,0,&type);
fw_anticoll(icdev,0,&snr);
st=fw_select(icdev,snr,&size);
int fw_load_key(int icdev,unsigned char _Mode,unsigned char _SecNr,unsigned char
*_NKey);
Description
Load keys to RAM of Reader.
Parameters
icdev:Value of Device Handle.
_Mode:The model of loading key.
Value are as follows:
For each sector of M1 card, there are three sets of corresponding password
(KEYSET0, KEYSET1, KEYSET2) in the reader, each password include A password (KEYA)
and B password (KEYB), a total of six passwords, use 0~2,4 ~ 6 to represent the six
Password:
0 - KEYSET0 of KEYA `
1 - KEYSET1 of KEYA
2 - KEYSET2 of KEYA
4 - KEYSET0 of KEYB
5 - KEYSET1 of KEYB
6 - KEYSET2 of KEYB
_SecNr:Section number(M1 Card:0~15; ML Card:0)
_Nkey:.Card key written to the reader
Return Value
0 if successful; otherwise, Nonzero.