Technical Manual

East Wind Technologies, Inc.
Copyright © 2022 East Wind Technologies, Inc. All rights reserved. 37/59
3.7 DESFire Card Commands
We are here to provide a separate operation for DESFire card. DESFire card authentication
and communication use DES encryption algorithm. The encryption of communication between
EWTJ680H-H-I and DESFire cards is set by users. If the user sets the RF communication process
is encrypted then the card data security is extremely high.
Use the following command allows the user to quickly start DESFire card R&D works. But
for advanced user, also could use APDU to implement the card.
3.7.1 DESFire Prepare Commands
3.7.1.1 DESFire Request
DESFire card request, Please reference ISO14443 TYPE A Request.
3.7.1.2 DESFire RATS
DESFire card RATS, Please reference: ISO14443-4 TYPE-A card reset (RATS).
3.7.1.3 DESFire Request and RATS
This command support DESFire Request and RATS. Please reference: Card Request
according to EMV and PBOC.
3.7.1.4 DESFire Authenticate
Function: Triple mutual authentication between DESFire and PCD. The authentication key
number could be master Key or any other key.
The command means the host sent the key to the module. The module will process the
authentication and send back results.
Advanced users could control the authentication process by themselves to improve security.
We provide additional authentication interface. For details, please reference: 0x8E: DESFire
Authenticate first step Get ekNo (RndB) and 0x8F: DESFire Authenticate second step get ekNo
(RndA’). For all encryption and decryption methods related to DESFire refer to
datasheet please. We also provide a tool to calculate the encryption and decryption. The source
code of the tool is helpfull for users, if need assistance, please contact us.
Host sends:
Frame
0x90
KeyNo
Key
Checksum
KeyNo: 1 byte, the number of the key
Key: 16 bytes.
Success:
Frame
0x90
Status
SenssionKey
Checksum
Status: status code returned from the card, the communication between the card and
module is successful, but may not meet the conditions for the implementation.
Please reference: DESFire Returned State Code.