Technical Manual
East Wind Technologies, Inc.
Copyright © 2022 East Wind Technologies, Inc. All rights reserved. 47/59
Host sends:
Frame
0xA7
FID
Data
Checksum
FID: 1 byte.
Data: There are two lengths, depending on whether encryption.
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.
Success:
Frame
0xA7
Status
Checksum
Status: status code returned from the card.
Please reference: DESFire Returned State Code.
Failure:
Frame
0x58
Checksum
3.7.3.5 DESFire Debit
Function: Decrease value in specified Vale File in current application. Commitment is
needed to take effect after this operation, refer to: DESFire Commit Transaction please.
Host sends:
Frame
0xA8
FID
Data
Checksum
FID: 1 byte.
Data: There are two lengths, depending on whether encryption.
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.
Success:
Frame
0xA8
Status
Checksum
Status: status code returned from the card.
Please reference: DESFire Returned State Code.
Failure:
Frame
0x57
Checksum
3.7.3.6 DESFire Limited Credit
Function: Increase a limited value in specified Value File in current application without
having full Read&Write permissions to the file. Commitment is needed to take effect after this
operation, refer to: DESFire Commit Transaction please.
Host sends:
Frame
0xA9
FID
Data
Checksum
FID: 1 byte.
Data: There are two lengths, depending on whether encryption.
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.
Success: