
Page
54
of
77
Copyright © Access-IS 2020
7.13 MIFARE transceive direct
Use this command to send commands directly to the MIFARE media.
Warning: This is for advanced users only and provides low-level access to send and receive
raw data. It is applicable to all MIFARE card types. Refer to the MIFARE card datasheet for
data specifications.
7.13.1 MIFARE command bytes
MIFARE command bytes
Command header
Command code
Block number
Data bytes
[0x00]
[0x28]
MIFARE transceive direct
Ignored
Bytes to send to the MIFARE media
7.13.2 MIFARE response bytes
MIFARE response bytes
Response header
Response code
Block number
Response bytes
(1)
Status bytes
[0x00]
[0x29]
Same as
command
Response bytes
from the MIFARE
media
[0x90][0x00]
Success
Failure
(1)
This field is present only if command is successful. Refer to page 55 for information on MIFARE
failure status codes.
7.13.3 Example
This command reads block 0 on an Ultralight-C card.
USB
Command:
[0x00][0x28][0x00][0x30][0x00]
Response:
[0x00][0x29][0x00][0x04][0xC7][0x64][0x2F][0x00][0x00][0x00]
[0x00][0x00][0x48][0x00][0x00][0x00][0x00][0x00][0x00][0x90]
[0x00]
Serial
Command:
[
0x6F][0x05][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x28][0x00][0x30][0x00]
Response:
[0x80][0x15][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x29][0x00][0x04][0xC7][0x64][0x2F][0x00][0x00][0x00]
[0x00][0x00][0x48][0x00][0x00][0x00][0x00][0x00][0x00][0x90]
[0x00][0x50][0x00][0x05]