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. 66/101
Success:
Frame 0xA4 Status Data Checksum
Status: status code returned from the card.
Please reference: DESFire Returned State Code.
Data: data returned from the card.
Failure:
Frame 0x5B Checksum
Example:
Send: 0x00 0B 00 A4 03 00 00 00 10 00 00 BC
Return: 0x00 15 01 A4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 B0
5.8.3.2 DESFire Write Data
Function: Write specified Data File (Standard Data File or Backup Fata File) in current
application. For Backup Data File, Commit is needed to take effect after write, refer to: DESFire
Commit Transaction please.
Host sends:
Frame 0xA5 FID Offset Length Data Checksum
FID: 1 byte.
Offset: 3 bytes (LSB in first), offset in the file.
Length: 3 bytes (LSB in first), bytes need to be written.
Data: The data to be written.
Success:
Frame 0xA5 Status Checksum
Status: status code returned from the card.
Please reference: DESFire Returned State Code.
Failure:
Frame 0x5A Checksum
Example:
Send: 0x00 14 00 A5 07 00 00 00 08 00 00 00 11 22 33 44 55 66 77 88 36
Return: 0x00 05 01 A5 00 A1
5.8.3.3 DESFire Get Value
Function: Read current value of specified Value File in current application.
Host sends:
Frame 0xA6 FID Checksum
FID: 1 byte.
Success:
Frame 0xA6 Status Data Checksum
Status: status code returned from the card.
Please reference: DESFire Returned State Code.
Data: There are two lengths, depending on whether it is encrypted.
Plaintext: 4 bytes value (LSB in first).
Encryption: 8 bytes encrypted data, After decryption: 4 bytes value (LSB first)
+ 2 bytes CRC + 2 bytes 0x00.
Failure: