Page 44 of 77 Copyright © Access-IS 2020
7.5.1 MIFARE command bytes
[0x08]
Write block (Key A)
[0x18]
Write block (Key B)
[0x48]
Authenticate and write block (Key A)
[0x58]
Authenticate and write block (Key B)
[0x88] or [0xC8]
RF select, authenticate and write block (Key A)
[0x98] or [0xD8]
RF select, authenticate and write block (Key B)
7.5.2 MIFARE response bytes
Any one of the following
values
(Command code + 1)
[0x09] or [0x19]
[0x90][0x00]
Success
[0x69][Status Code]
Failure
Refer to page 55 for information on MIFARE failure status codes.
7.5.3 Example
This command successfully writes 16 bytes to block number 2, using the loaded key authenticated
against Key A in the media.
[0x00][0x48][0x02][0x01][0x02][0x03][0x04][0x05][0x06h][0x07]
[0x08][0x09]0x10]0x11]0x12]0x13]0x14]0x15]0x16]
[0x00][0x49][0x02][0x90][0x00]
[0x6F][0x13][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x48][0x02][0x01][0x02][0x03][0x04][0x05][0x06][0x07]
[0x08][0x09][0x10][0x11][0x12][0x13][0x14][0x15][0x16]
[0x80][0x05][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x49][0x02][0x90][0x00]