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. 62/101
Frame 0x64 Checksum
Example:
Send: 0x00 04 00 9B 9F
Return: 0x00 08 01 9B 00 03 04 01 94
5.8.2.11 DESFire Get File Settings
Function: Get specified file setting in current application.
Host sends:
Frame 0x9C FID Checksum
FID: 1byte.
Success:
Frame 0x9C Status Data Checksum
Status: status code returned from the card.
Please reference: DESFire Returned State Code.
Data: according to different types of files with different length, details as follows:
Data file: 1 byte file type + 1 byte comm. setting + 2 bytes access right + 3 bytes file
size.
Value file: 1 byte file type + 1 byte comm. setting + 2 bytes access right + 4 bytes lower
limit + 4 bytes upper limit + 4 bytes limited credit value + 1 byte limited credit enable.
Record file: 1 byte file type + 1 byte comm. setting + 2 bytes access right + 3 bytes
record size + 3 bytes Max record + 3 bytes current number of records.
Note: The above multi-byte data are all LSB first.
Failure:
Frame 0x63 Checksum
Example:
Send: 0x00 05 00 9C 01 98
Return: 0x00 16 01 9C 00 02 00 EE EE 00 00 00 00 77 77 77 77 00 00 00 00 00 89
5.8.2.12 DESFire Change File Settings
Function: Modify specified file setting in current application.
Host sends:
Plaintext:
Frame 0x9D File ID Comm.Sett AccessRight Checksum
Cryptograph:
Frame 0x9D File ID EncryptedSetting Checksum
File ID: 1 byte.
Comm.Sett: 1byte, 0: Plaintext; 1: MAC code checksum; 3: DES/3DES encryption.
AccessRight: 2 bytes (LSB in first).
EncryptedSetting: 8 bytes, 1 byte communication setting + 2 bytes file permission + 2
bytes CRC + 3 bytes 0x00 got via encryption.
Success:
Frame 0x9D Status Checksum
Status: status code returned from the card.
Please reference:
DESFire Returned State Code.
Failure: