User's Manual

40 | P a g e www.eccel.co.uk
READER=>HOST: 0x00 – ACK byte
0x74 – related command code MFDF_CREATE_VALUE_FILE
3.5.22 Write record (0x75)
This command writes data to a record file. It takes two arguments: the file number and the data bytes to
be written. To store data on the TAG, a commit transaction command is required.
Command description
Argument
Size
Value
Description
Command ID
1
0x75
MFDF_WRITE_RECORD_DATA
File number
1
X
File number inside application
Data
N
X
Data bytes to write
Response
description
ACK
1
0x00
Command ID
1
0x75
MFDF_WRITE_DATA
Example:
HOST=>READER: 0x75 – MFDF_WRITE_DATA
0x01 – file number
0x01 0x02 0x03 0x04 0x05 0x06 0x07 - data
READER=>HOST: 0x00 – ACK byte
0x75 – related command code MFDF_WRITE_RECORD_DATA
3.5.23 Read record (0x76)
This command reads data from a record file. It takes three arguments: the file number, the record number,
and the number of bytes to be read. The returned ACK response contains the data that has been read.
Command description
Argument
Size
Value
Description
Command ID
1
0x76
MFDF_READ_RECORD
File number
1
X
File number inside application
Record number
2
X
Record number, 2
-
bytes LSB value
Data length
2
X
Read data length,
2
-
bytes LSB value
Response description
ACK
1
0x00
Command ID
1
0x76
MFDF_READ_RECORD
Example:
HOST=>READER: 0x76 – MFDF_READ_RECORD
0x01 – file number