User's Manual
HF Mifare Easy Module V1.0
ACG Identification Technologies GmbH 40
7.4.3.6 Login (authenticate tag)
Performs an authentication to access one sector of a Mifare
®
card. Only one sector
can be accessed at the same time.
Optionally to transmit the key data to the reader stored keys, in the reader EEPROM,
can be used.
To store keys in the EEPROM the write master key command is used. It is possible
to store up to 32 master keys in the reader EEPROM. The login requires a successful
select.
Command
Command Data
'l' Sector (1 byte) ), valid range 00h - 3Fh
Key type (1 byte)
AAh authenticate with key type A
FFh authenticate with key type A, transport key
FFFFFFFFFFFFh
BBh authenticate with key type B
10h … 2Fh authenticate with key type A using stored
key (00h … 1Fh)
30h … 4Fh authenticate with key type B using stored
key (00h … 1Fh)
Key (6 bytes) / <CR> (1 byte), optional
By transmitting <CR> instead of the keydata
authentication is done with manufacturers transport
keys (A0A1A2A3A4A5h, B0B1B2B3B4B5h,
FFFFFFFFFFFFh).
Answer
Answer Description
data Login status (1 byte)
'L' Login success
'E' Error: Invalid key format
'F' Error: General failure
'N' Error: No tag