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. 64/101
Host sends:
Frame 0xA0 FID
Comm.
Sett
Access
Right
Lower
limit
Upper
limit
Value
Limited
Credit
enable
Checks
um
FID: 1 byte.
Comm.Sett: 1byte, 0: Plaintext; 1: MAC code checksum; 3: DES/3DES encryption.
AccessRight: 2 bytes (LSB in first).
Lower limit: 4 bytes (Signed int, LSB in first).
Upper limit: 4 bytes (Signed int, LSB in first).
Value: 4 bytes (Signed int, LSB in first).
Limited Credit enable: 1 byte, 0: disable; 1: enable.
Success:
Frame 0xA0 Status Checksum
Status: status code returned from the card.
Please reference: DESFire Returned State Code.
Failure:
Frame 0x5F Checksum
Example:
Send: 0x00 15 00 A0 01 00 EE EE 00 00 00 00 77 77 77 77 22 22 22 22 00 B4
Return: 0x00 05 01 A0 00 A4
5.8.2.16 DESFire Create Linear Record File
Function: Create Linear Record File in current application, support backup mechanism.
Host sends:
Frame 0xA1 FID
Comm.
Sett
Access
Right
Record
Size
Max
Records
Checksum
FID: 1 byte.
Comm.Sett: 1byte, 0: Plaintext; 1: MAC code checksum; 3: DES/3DES encryption.
AccessRight: 2 bytes (LSB in first).
Record Size: 3 bytes (LSB in first), bytes of single record.
Max Records: 3 bytes (LSB in first), total record numbers of the file.
Success:
Frame 0xA1 Status Checksum
Status: status code returned from the card.
Please reference: DESFire Returned State Code.
Failure:
Frame 0x5E Checksum
Example:
Send: 0x00 0E 00 A1 08 00 00 00 20 00 00 20 00 00 A7
Return: 0x00 05 01 A1 00 A5
5.8.2.17 DESFire Create Cyclic Record File
Function: Create Cyclic Record File in the current application.