User's Manual
29 | P a g e www.eccel.co.uk
3.5 Mifare Desfire commands
This set of commands should be performed on Mifare Desfire tags.
3.5.1 Get version (0x60)
This command requests version information from the tag. The returned ACK answer contains 28-bytes with
version information.
Command description
Argument
Size
Value
Description
Command ID
1
0x60
MFDF_GET_VERSION
Response description
ACK
1
0x00
Command ID
1
0x60
MFDF_GET_VERSION
Read data
28
XXX
Version bytes read from the tag
Example:
HOST=>READER: 0x60 – MFDF_GET_VERSION
READER=>HOST: 0x00 – ACK byte
0x60 – related command code MFDF_GET_VERSION
0x01 0x2e 0x41 0x22 0x43 0x11 0x8e 0x20
0x31 0x38 0x20 0x32 0x30 0x31 0x39 0x41
0x81 0x23 0x42 0x28 0x33 0x01 0x8e 0x72
0x31 0x35 0x3a 0x33 – 28 bytes result
3.5.2 Select application (0x61)
This command requests select application operation on the tag. Takes as argument 3-byes containing AID.
Command description
Argument
Size
Value
Description
Command ID
1
0x61
MFDF_GET_VERSION
AID
3
X
Application ID
Response description
ACK
1
0x00
Command ID
1
0x61
MFDF_GET_VERSION
Example:
HOST=>READER: 0x61 – MFDF_SELECT_APP
0x01 0x02 0x03 – 3 bytes AID
READER=>HOST: 0x00 – ACK byte
0x61 – related command code MFDF_SELECT_APP