User's Manual
19 | P a g e www.eccel.co.uk
Response
description
ACK
1
0x00
Command ID
1
0x22
MF_
READ_VALUE
Value
4
X
Signed 32
-
bit value (LSB first)
Address
1
X
Address byte
Example:
HOST=>READER: 0x22 – MF_READ_VALUE
0x02 – block number 2
0x0A – key A should be selected from key storage
0x00 – first key should be selected from key storage
READER=>HOST: 0x00 – ACK byte
0x22 – related command code MF_READ_BLOCK
0x00 0x00 0x00 0x01 – value
0x01 – address byte
3.3.4 Write value (0x23)
This command should be used to write a value to the tag. It takes as arguments the block number where
the value should be stored, the key A or B parameter, the key number in key storage, a value (signed 32-
bit LSB first) as 4 bytes, and an address byte (unsigned 8-bit value).
Command description
Argument
Size
Value
Description
Command ID
1
0x23
MF_
WRITE_VALUE
Block number
1
X
Key A/B parameter 1 X
0x0A
–
Key A should be selected from key storage
0x0B – Key B should be selected from key storage
Key number
1
0
-
4
Key number in key storage
Value
4
X
Signed 32
-
bit value (LSB first)
Address
1
X
Address byte
Response
description
ACK
1
0x00
Command ID
1
0x23
MF_
WRITE_VALUE
Example:
HOST=>READER: 0x23 – MF_WRITE_VALUE
0x02 – block number 2
0x0A – key A should be selected from key storage
0x00 – first key should be selected from key storage
0x00 0x00 0x00 0x01 – value
0x01 – address byte
READER=>HOST: 0x00 – ACK byte
0x23 – related command code MF_WRITE_BLOCK