User's Manual
32 | P a g e www.eccel.co.uk
READER=>HOST: 0x00 – ACK byte
0x65 – related command code MFDF_AUTHENTICATE_ISO
3.5.7 Authenticate AES (0x66)
This command tries to authenticate the Mifare Desfire using the key stored in the key storage, and one
byte with the key number on the card. It takes as an argument one byte with the key number in the key
storage. This command can be used with AES128 keys.
Command description
Argument
Size
Value
Description
Command ID
1
0x66
MFDF_AUTHENTICATE_ISO
Key number
1
0
-
4
Key number in key storage
Response description
ACK
1
0x00
Command ID
1
0x66
MFDF_AUTHENTICATE_ISO
Example:
HOST=>READER: 0x66 – MFDF_AUTHENTICATE_AES
0x00 – key number
READER=>HOST: 0x00 – ACK byte
0x66 – related command code MFDF_AUTHENTICATE_AES
3.5.8 Create application (0x67)
This command tries to create application on the tag. It takes three arguments: 3-bytes of application ID,
the keySettings1 byte and the keySettings2 byte. Please refer to the NXP documentation for more
information about key settings bytes.
Command description
Argument
Size
Value
Description
Command ID
1
0x67
MFDF_CREATE_APP
Application ID
3
X
Application ID bytes
Key settings 1
1
X
Please refer to the NXP
documentation for more information
Key settings 2
1
X
Please refer to the NXP documentation for more information
Response description
ACK
1
0x00
Command ID
1
0x67
MFDF_CREATE_APP
Example:
HOST=>READER: 0x67 – MFDF_CREATE_APP
0x00 – key number