Technical Manual

East Wind Technologies, Inc.
Copyright ©
2022 East Wind Technologies, Inc. All rights reserved.
52/66
Checksum
Status
0xA9
Frame
Status: status code returned from the card.
Please reference:
DESFire Returned State Code.
Failure:
Frame
0x56
Checksum
3.7.3.7 DESFire Write Record
Function: Write data to specified Data File in current application. The data file could be
Linear Record or Cyclic Record file. This command appends one record at the end of the record
file. The status will show an error when the linear record file is full. In case of cyclic record file is
already full, it erases and overwrites the oldest record. Commitment is needed to take effect after
this operation, refer to:
DESFire Commit Transaction please.
Host sends:
Frame
0xAA
FID
Offset
Length
Data
Checksum
FID: 1 byte.
Offset: 3 bytes (LSB in first), offset in the record.
Length: 3 bytes (LSB in first), greater than 0 and less than or equal Record Size subtract
the offset in the record.
Data: The data to be written.
Success:
Frame
0xAA
Status
Checksum
Status: status code returned from the card.
Please reference:
DESFire Returned State Code.
Failure:
Frame
0x55
Checksum
3.7.3.8 DESFire Read Record
Function: Read one or multi records from specified Record File in current application.
Host sends:
Frame
0xAB
FID
Offset
Length
Checksum
FID: 1 byte.
Offset: 3 bytes (LSB in first), offset of the record.
Length: 3 bytes (LSB in first), number of records to be read.
Success:
Frame
0xAB
Status
Data
Checksum
Status: status code returned from the card.
Please reference:
DESFire Returned State Code.
Data: data returned from the card.
Failure:
Frame
0x54
Checksum