User's Manual

39 | P a g e www.eccel.co.uk
Command ID
1
0x73
MFDF_DEBIT
File number
1
X
File number inside application
Credit value
4
X
4 bytes signed value, LSB first
Response description
ACK
1
0x00
Command ID
1
0x73
MFDF_DEBIT
Example:
HOST=>READER: 0x73 – MFDF_DEBIT
0x02 – file number
0x05 0x00 0x00 0x00 – 4 bytes signed value, LSB first
READER=>HOST: 0x00 – ACK byte
0x73 – related command code MFDF_DEBIT
3.5.21 Create record file (0x74)
This command creates files for multiple storage of structurally similar data within an existing application.
If the cyclic flag is 0x00, then further writing is not possible unless it is cleared. If the cyclic flag is set to
0x01, then the new record overwrites the oldest record.
Command descr
iption
Argument
Size
Value
Description
Command ID
1
0x74
MFDF_CREATE_RECORD_FILE
File number
1
X
File number inside application
Access rights
2
X
Please refer to the NXP documentation for more information
Record size
2
X
Record size, 16
-
bits LSB
value
Number of records
2
X
Number of records, 16
-
bits LSB value
Cyclic flag 1
X
If cyclic file is full:
0x00 - further writing is not possible unless it is cleared
0x01 - the new record overwrites oldest record
Response description
ACK
1
0x00
Command ID
1
0x74
MFDF_CREATE_RECORD_FILE
Example:
HOST=>READER: 0x74 – MFDF_CREATE_RECORD_FILE
0x03 – file number
0xEE 0xEE – access rights
0x08 0x00 – 8-bytes for every record
0x40 0x00 – 64 records
0x01 – cyclic flag