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

63
Example
int st;
unsigned char rbuf[4]={0};
st=fw_getProtectData_4428(icdev,0, rbuf,4);
int fw_setProtectData_4428(int icdev,unsigned int _Adr,unsigned char *_Data,int
length);
Description
write protected bits
Parameters
icdev: Value of Device Handle.
_Adr: The starting address of written data
_Data: data to be written
length: the length of written data
Return Value
0 if successful; otherwise, Nonzero.
Example
int st;
unsigned char rbuf[2]={0xa2,0x1e};
st=fw_setProtectData_4428(icdev,0, rbuf,2);
Remark
1: parameter _Adr should value between 0 and 1023;
2: written data should be consistent with the corresponding data which stored
in card;
3: parameter length should not exceed 1024;
int fw_authentikey_4428(int icdev, unsigned char *key);
Description
Authenticate key of 4428 card
Parameters
icdev: Value of Device Handle.
Key : key to be verified(2 bytes)
Return Value
0 if successful; otherwise, Nonzero.
Example
unsigned char keybuffer[2]={0xff,0xff};
if(fw_authentikey_4428(icdev,keybuffer)!=0)
{
printf(“Authentication error”);
}
Remark:
Card will be locked if this function fails for 8 times continuously.
int fw_changkey_4428(int icdev, unsigned char *key);
Description
Change key