
Page
45
of
70
Copyright © Access-IS 2016
7.10 MIFARE Ultralight write block
Use this command to write data to the specified block.
Note:
This command is applicable ONLY to MIFARE Ultralight cards and fails if executed on other
MIFARE card types.
7.10.1 MIFARE Ultralight command bytes
MIFARE Ultralight command bytes
Command header
Command code
Block
number
Block
data
[0x00]
[0x22]
MIFARE Ultralight write block
Block
number
4 bytes of
data
7.10.2 MIFARE Ultralight response bytes
MIFARE Ultralight response bytes
Response header
Response code
Block number
Status bytes
[0x00]
[0x23]
Block number
[0x90][0x00]
Success
Failure
Refer to page 48 for information on MIFARE failure status codes.
7.10.3 Example
This command successfully writes one block (block number 4) with 4 bytes of data.
There is no authentication feature on Ultralight cards.
Command:
[0x00][0x22][0x04]]0x01][0x02][0x03][0x04]
Response:
[0x00][0x23][0x04][0x90][0x00]
7.11
MIFARE Ultralight-C authenticate - part 1
Use this command to perform the first part of the MIFARE Ultralight-C authentication.
Note:
This command is applicable ONLY to MIFARE Ultralight-C cards and fails if executed on
other MIFARE card types.
7.11.1 MIFARE Ultralight-C command bytes
MIFARE Ultralight-C command bytes
Command header
Command code
[0x00]
[0x24]
MIFARE Ultralight-C Authenticate part 1