User manual
7. Firmware ........................................................................................................................................ 36
7.1.1.
Transport protocol .............................................................................................................36
7.1.2.
Automatic PPS ..................................................................................................................36
8.
Commands description .................................................................................................................. 37
8.1.
Generic APDUs ....................................................................................................................... 37
8.1.1.
Get UID Command ...........................................................................................................37
8.1.2.
Get DATA Command ........................................................................................................38
8.1.3.
T=CL user Command .......................................................................................................39
8.1.4.
PASS_THROUGH command ...........................................................................................40
8.2.
Set of APDU for contactless storage user tokens ................................................................... 41
8.2.1.
STORAGE_CARD_CMDS_READ_BINARY ....................................................................41
8.2.2.
STORAGE_CARD_CMDS_WRITE_BINARY ..................................................................43
8.2.3.
STORAGE_CARD_CMDS_LOAD_KEYS ........................................................................45
8.2.4.
STORAGE_CARD_CMDS_AUTHENTICATE ..................................................................46
8.2.5.
STORAGE_CARD_CMDS_VALUE_BLOCK ...................................................................48
8.3.
Set of APDU for ISO/IEC 14443-4 user tokens ...................................................................... 49
8.3.1.
T=CL Command ...............................................................................................................49
8.4.
MIFARE DESFire commands ................................................................................................. 50
8.5.
SCM Microsystems specific APDU set ................................................................................... 50
8.5.1.
Commands for communicating with NFC Forum Tags Type 1 ........................................50
8.5.2. Commands for communicating with NFC Forum Tags Type 2 ........................................56
8.5.3.
Commands for communication with NFC Forum Tags Type 3 ........................................56
8.5.4.
Commands for communicating with NFC Forum Tags Type 4 ........................................58
8.6.
Escape IOCTLās supported in SCM3712 ................................................................................ 59
8.6.1.
READER_CNTLESS_GET_ATS_ATQB ..........................................................................59
8.6.2.
READER_GET_CARD_TYPE_POLLING ........................................................................60
8.6.3.
READER_CNTLESS_SET_TYPE ....................................................................................60
8.6.4.
READER_CNTLESS_RF_SWITCH .................................................................................61
8.6.5.
READER_ CNTLESS_DISABLE_PPS .............................................................................61
8.6.6.
READER_ENABLE_DISABLE_848 .................................................................................62
8.6.7.
READER_CNTLESS_BAUDRATE ...................................................................................62
8.6.8.
READER_FORCE_BAUDRATE .......................................................................................63
8.6.9.
READER_DISABLE_NAK_POLLING ..............................................................................64
8.6.10.
FELICA_PASSTHROUGH ...............................................................................................64
8.7.
Vendor IOCTL used for P2P mode of operation ..................................................................... 65
Generic IOCTLs
..............................................................................................................................65
8.7.1.
IOCTL_GET_CARD_TYPE ..............................................................................................65
8.7.2.
P2P Mode ā Generic IOCTL .............................................................................................66
8.7.3.
IOCTL_GET_OR_SET_RW_P2P_MODES .....................................................................68
8.8.
P2P Initiator Mode IOCTLs ..................................................................................................... 69
8.8.1.
IOCTL_INITIATOR_POLL ................................................................................................69
8.8.2. IOCTL_INITIATOR_CONNECT ........................................................................................70
8.8.3.
IOCTL_INITIATOR_TRANSCEIVE ..................................................................................71
8.8.4.
IOCTL_INITIATOR_DISCONNECT ..................................................................................71
P2P Target Mode IOCTLs
................................................................................................................. 72
8.8.5.
IOCTL_TARGET_RECEIVE .............................................................................................72
8.8.6.
IOCTL_TARGET_SEND ...................................................................................................74
9.
Annexes ......................................................................................................................................... 75
9.1.
Annex A ................................................................................................................................... 75
9.1.1.
Status words table ............................................................................................................75
9.1.2.
Further information about PC/SC .....................................................................................75
9.2.
Annex B ā Mechanical drawings ............................................................................................. 76
9.2.1.
SCM3712 and SCM3712 NFC .........................................................................................76