![Access Interfacing Solutions ATR110 Скачать руководство пользователя страница 46](http://html.mh-extra.com/html/access-interfacing-solutions/atr110/atr110_product-manual_455305046.webp)
Page
46
of
70
Copyright © Access-IS 2016
7.11.2 MIFARE Ultralight-C response bytes
MIFARE Ultralight-C response bytes
Response header
Response code
Block number
Response
cryptogram(1)
Status bytes
[0x00]
[0x25]
Ignored
9 bytes starting
with
[0xAF]
[0x90][0x00]
Success
Failure
(1)
This field is present only if the command is successful. Refer to page 48 for information on
MIFARE failure status codes.
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 52).
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 au
thentication for a longer period, without changing the ‘Command Wait
Time’, send the ‘MIFARE get media type command’ (on page 36) periodically to keep the session
active.
7.11.3 Example
This command performs authentication (part 1) on an Ultralight-C card.
Command:
[0x00][0x24]
Response:
[0x00][0x25][0x00][0xAF][0x19][0xA0][0xC9][0xF4][0xC2][0x19]
[0x16][0x2F][0x90][0x00]
This command fails to authenticate with an error ‘MIFARE Ultralight-C Authentication Part 1 failed’.
Command:
[0x00][0x24]
Response:
[0x00][0x25][0x00][0x69][0x8B]
7.12 MIFARE Ultralight-C authenticate - part 2
Use this command to perform the second part of the MIFARE Ultralight-C authentication.
Note:
This command is applicable ONLY to MIFARE Ultralight-C cards and fails if executed on
other types of MIFARE cards.
7.12.1 MIFARE Ultralight-C command bytes
MIFARE Ultralight-C command bytes
Command header
Command code
Block number
Cryptogram bytes
[0x00]
[0x26]
MIFARE Ultralight-C Authenticate part 2
Ignored
Set to
[0x00]
16 bytes of cryptogram