Page 53 of 77 Copyright © Access-IS 2020
Note: Once the NFC module receives a command, it waits for 250 milliseconds for another
command to arrive. If no command arrives, it resets the MIFARE card. This interval, the ‘Command
Wait Time’, is configurable using the Set NFC timings command (on page 59).
The NFC reader resets the MIFARE card after the ‘Command Wait Time’ has expired, and any
authentication done before this event is lost.
This means that you must send the next Authenticate part-2 command after a successful
Authenticate part-1 command before the ‘Command Wait Time’ expires.
If you want to preserve the authentication for a longer period, without changing the ‘Command Wait
Time’, send the ‘MIFARE get media type command’ (on page 39) periodically to keep the session
active.
7.12.3 Example
This command performs authentication (part 2) on an Ultralight-C card.
[0x00][0x26][0x00][0x6C][0x29][0x02][0x40][0x6B][0x7C][0x74]
[0x02][0x5A][0xCE][0x65][0x93][0xD8][0x4E][0x36][0xA1]
[0x00][0x27][0x00][0x00][0x21][0x65][0x40][0x23][0xCF][0xD5]
[0x46][0xEB][0x90][0x00]
[0x6F][0x13][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x26][0x00][0x6C][0x29][0x02][0x40][0x6B][0x7C][0x74]
[0x02][0x5A][0xCE][0x65][0x93][0xD8][0x4E][0x36][0xA1]
[0x80][0x0E][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x27][0x00][0x00][0x21][0x65][0x40][0x23][0xCF][0xD5]
[0x46][0xEB][0x90][0x00]
This command fails to authenticate with an error ‘MIFARE Ultralight-C Authentication Part 2 failed’.
[0x00][0x26][0x00][0x6C][0x29][0x02][0x40][0x6B][0x7C][0x74]
[0x02][0x5A][0xCE][0x65][0x93][0xD8][0x4E][0x36][0xA1]
[0x00][0x27][0x00][0x69][0x8C]
[0x6F][0x13][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x26][0x00][0x6C][0x29][0x02][0x40][0x6B][0x7C][0x74]
[0x02][0x5A][0xCE][0x65][0x93][0xD8][0x4E][0x36][0xA1]
[0x80][0x05][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x27][0x00][0x69][0x8C]