Instructions
NFC &
MIFARE & ISO14443AB & ISO15693 & ISO18000 & ISO7816 IC Card Module www.quio-rfid.de
Copyright © 2003-2022 Quick Ohm Küpper & Co. GmbH. All rights reserved. 56/101
5.8 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
QM-ABCM7 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.
5.8.1 DESFire Prepare Commands
5.8.1.1 DESFire Request
DESFire card request, Please reference ISO14443 TYPE A Request.
5.8.1.2 DESFire RATS
DESFire card RATS, Please reference: ISO14443-4 TYPE-A card reset (RATS).
5.8.1.3 DESFire Request and RATS
This command support DESFire Request and RATS. Please reference: Card Request
according to EMV and PBOC.
5.8.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 sends 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 you need any 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 it may not meet the conditions for the implementation.
Please reference: DESFire Returned State Code.
SenssionKey: 16 bytes. The senssion key will be sent back only after a successful
authentication. The senssion key will be used in the following card operations. It is the key to
decrypt the encrypted data in encrypted communication process.