User's Manual

42 | P a g e www.eccel.co.uk
Command description
Argument
Size
Value
Description
Command ID
1
0x6E
MFDF_READ_DATA
File number
1
X
File number inside application
File offset
3
X
file offset, 3
-
bytes LSB value
Data length
3
X
Read data length, 3
-
bytes LSB value
Response description
ACK
1
0x00
Command ID
1
0x6E
MFDF_READ_DATA
Example:
HOST=>READER: 0x6E – MFDF_READ_DATA
0x01 – file number
0x00 0x00 0x00 – zero offset
0x07 0x00 0x00 – seven bytes to read
READER=>HOST: 0x00 – ACK byte
0x6E – related command code MFDF_READ_DATA
0x01 0x02 0x03 0x04 0x05 0x06 0x07 - data
5.5.16 Create value file (0x6F)
This command creates files for the storage and manipulation of 32bit signed integer values within an existing
application on the TAG. It takes seven arguments listed in the table below.
Command description
Argument
Size
Value
Description
Command ID
1
0x6F
MFDF_CREATE_VALUE_FILE
File number
1
X
File number inside application
Access rights
2
X
Please refer to the NXP documentation for more information
Low limit
4
X
Low limit as 4
-
bytes signed value, LSB first
Up limit
4
X
Up limit as 4
-
bytes signed
value, LSB first
Initial value
4
X
Initial value as 4
-
bytes signed value, LSB first
Get free enabled
1
X
Please refer to the NXP documentation for more information
Limit credited
1
X
Please refer to the NXP documentation for more information
Response
description
ACK
1
0x00
Command ID
1
0x6F
MFDF_CREATE_VALUE_FILE
Example:
HOST=>READER: 0x6F – MFDF_CREATE_VALUE_FILE
0x02 – file number
0xEE 0xEE – access rights
0x00 0x00 0x00 0x00 – low limit
0x80 0x00 0x00 0x00 – up limit
0x00 0x00 0x00 0x00 – initial value
0x01 – get free enabled
0x01 – limited credit
READER=>HOST: 0x00 – ACK byte
0x6F – related command code MFDF_CREATE_VALUE_FILE