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

28
number >31)
Parameters
icdev:Value of Device Handle.
_SecNr:Section number(M1:0~15,M1S70:0-39)
_KeyA:Key A
_CtrlW:Control Word of key
_Bk:Set value 0
_KeyB:Key B
Return Value
0 if successful; otherwise, Nonzero.
Example
int st;
unsigned char keya;
unsigned char keyb;
unsigned char ctrlword={0xff,0x07,0x80,0x69};
memset(keya,0xff,6);
memset(keyb,0xff,6);
st=fw_changeb3(icdev,1,keya, ctrlword,0,keyb);//change the key of sector 1
int fw_initval(int icdev,unsigned char _Adr,unsigned long _Value);
D Description
Initial value of block.
Parameters
icdev:Value of Device Handle.
_Adr:Address of block
_Value:value of block for seting
Return Value
0 if successful; otherwise, Nonzero.
Example
int st;
unsigned long value;
value=1000; /*set value as 1000*/
st=fw_initval(icdev,1,value); /*Initial value of block 1 as 1000*/
Remark
During value operation, you must first initialize the value function, and then
make the others read, increment, decrement operation.
int fw_increment(int icdev,unsigned char _Adr,unsigned long _Value);
Description
Increment value of certain block.
Parameters
icdev:Value of Device Handle.
_Adr:Address of block
_Value:Value for increment
Return Value
0 if successful; otherwise, Nonzero.