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

41
changeable
create/delete
Withiout PICC
master Key
director
y list
access
without
PICC
master
key
change
master
key
Each bit of Card-level key settings represents the meaning as follows:
Bit7-Bit4: reserved, must be set to 0.
Bit3: Code which determines whether it allows changing the master key settings:
0: configuration can not be changed no longer (frozen).
1: you can modify the configuration (the default) after authenticating
the card’s master key.
Bit2: Code which determines if it needs certification for card’s master keys
when creating /deleting application:
0: you can not create / delete applications until the master key of card
has been authenticated successfully,.
1: the application is also permitted to creat without certificating card
master key (the default settings).
Before deleting the application, you must authenticate the master key of
application or the master key of card successfully.
Bit1: this byte dertermines whether it needs to certificate the card master key
for access to the application directory:
0:fw_getAIDs_desfire and fw_getKeySetting_desfire: need to successfully
authenticate the master key of card.
1: fw_getAIDs_desfire and fw_getKeySetting_desfire: do not need to
authenticate the master key of card (Default setting).
Bit0: Code which determines whether the master key of card can be modified:
0: card master key can not be modified (frozen).
1: Card master key can be modified (the current card master key must be
certified, default settings).
sessionKey: session key
Return Value
0 if successful; otherwise, Nonzero. Reference Table 1.11
Example
int st;
unsigned char set=0x0f;
st= fw_changeKeySetting_desfire (icdev,set,key);
int fw_changeKey_desfire(int icdev,unsigned char* sessionKey,unsigned char*
curKey,unsigned char keyNo,unsigned char* newkey);