User manual
SCM3712 REFERENCE MANUAL 50
8.4. MIFARE DESFire commands
MIFARE DESFire native commands can be mapped onto case 4 APDU as described hereunder:
CLA
INS
P1
P2
P3
Data
Le
0x90
DESFirecmd
code
0x00
0x00
Length of
data field
DESFire
command
parameters
0x00
The response from a DESFire user token will be mapped as follow
Data
SW1 SW2
User token answer
0x91 0xYY
0xYY is the DESFire native status byte as described in NXP documentation.
Note: In the past SCM Microsystems had its own proprietary APDU for handling DESFire cards that
was implemented on SCL010 and SDI010 products. For backwards compatibility reasons it is still
supported but SCM recommends using the above mapping method for any new integration
development.
8.5. SCM Microsystems specific APDU set
8.5.1. Commands for communicating with NFC Forum Tags Type 1
Commands for Static and Dynamic Memory Models
• Read Identification (RID)
• Read All Blocks 0 – Eh (RALL)
• Read Byte (READ)
Commands for Dynamic Memory Model
• Read Segment (RSEG)
• Read 8 Bytes (READ8)
• Write-No-Erase 8 Bytes (WRITE-NE8)
8.5.1.1. Read Identification (RID)
Description
This command is used to retrieve the tag’s unique identifier.
Format
CLA
INS
P1
P2
P3
Data
0xFF
0x50
0x00
0x00
0x00
-
Response
Data
SW1 SW2
HR0 HR1 UID0 UID1 UID2 UID3 0x90 0x00