Elatec GmbH
Page 27 of 65
7.4.1.2 Mifare®
Ultralight C Login ‘l’
This command performs an authentication into a Mifare® Ultralight C transponder. The authentication
scheme into this transponder type is different to Mifare® Classic due to the fact, that Ultralight C uses
Triple-DES cryptography.
Unlike Mifare® Classic the authentication concerns the entire transponder. This means, once an
authentication succeeds, the complete transponder is accessible.
Prior login, the transponder must be selected by either single tag or MultiTag selection commands.
For authentication, the matching login key is needed. The key may either be entered by command, or
can be stored in the readers‟ EEPROM. The reader is able to store up to 16 Triple-DES keys.
Command:
‘l[00][KeyType][Key / <CR>]’
Parameters
Description
[00]
To maintain backward compatibility the first parameter shall be set to 00h
[KeyType]
CCh:
denotes Triple-DES (Ultralight C) key
50h … 5Fh:
authenticate with stored Triple-
DES key (00h … 0Fh)
[Key / <CR>]
Enter key manually (16 bytes) or tell the reader to login with a transport key by submitting a carriage return
<CR>
(1 byte)
Answer
Answer
Description
‘L<CR><LF>’
Login success
‘F<CR><LF>’
Error: general failure
‘N<CR><LF>’
Error: no tag in the field or the tag does not respond
Examples
Command
Description
‘l00CC<CR>’
Authenticate into transponder using Triple-DES transport key:
K1 = 49454D4B41455242h
K2 = 214E4143554F5946h
‘l00CC000102030405060708090A0B0C0D0E0F’
Authenticate into transponder using Triple-DES key:
K1 = 0001020304050607h
K2 = 08090A0B0C0D0E0Fh
‘l0055’
Authenticate into transponder using Triple-DES EEPROM key 05h