
Elatec GmbH
Page 3 of 65
6.2.1 STX............................................................................................................................................... 19
6.2.2 Station ID ...................................................................................................................................... 19
6.2.3 Length ........................................................................................................................................... 19
6.2.4 Data............................................................................................................................................... 19
6.2.5 Block Check Character (BCC)...................................................................................................... 19
6.2.6 ETX............................................................................................................................................... 19
6.2.7 Example ........................................................................................................................................ 20
6.2.8 Remarks ........................................................................................................................................ 20
7. Instruction Set ...............................................................................................................21
7.1 Command Overview............................................................................................................. 21
7.1.1 Common Commands..................................................................................................................... 21
7.1.2 Mifare® Classic Specific Commands ........................................................................................... 22
7.1.2.1 Mifare® PLUS Specific Commands......................................................................................... 22
7.1.3 ISO15693 specific commands....................................................................................................... 22
7.2 Error Codes........................................................................................................................... 22
7.3 Transponder Serial Number Related Commands............................................................. 23
7.3.1 Continuous read mode ‘c’ ............................................................................................................. 23
7.3.2 Select Single Tag ‘s’ ..................................................................................................................... 23
7.3.3 MultiTag Selection / Tag List ‘m’................................................................................................. 24
7.3.4 Mifare® PLUS Virtual Card Select ‘nvcs’.................................................................................... 25
7.4 Data Transaction Related Commands................................................................................ 26
7.4.1 Authenticate Tag........................................................................................................................... 26
7.4.1.1 Mifare® Classic Login ‘l’ ......................................................................................................... 26
7.4.1.2 Mifare® Ultralight C Login ‘l’.................................................................................................. 27
7.4.1.3 Mifare® PLUS Login ‘nl’ ......................................................................................................... 28
7.4.1.4 Login in multiple Tag Surroundings ......................................................................................... 29
7.4.2 Read Data Block ‘r’ / ‘rb’ ............................................................................................................. 30
7.4.2.1 Mifare® Ultralight / Ultralight C .............................................................................................. 30
7.4.3 Write Data Block ‘w’ / ‘wb’.......................................................................................................... 31
7.4.3.1 Mifare® Ultralight / Ultralight C .............................................................................................. 31
7.4.4 Mifare® Value Block Related Commands.................................................................................... 32
7.4.4.1 Create Value Block ‘wv’........................................................................................................... 33
7.4.4.2 Read Value Block ‘rv’............................................................................................................... 33
7.4.4.3 Increment Value Block ‘+’........................................................................................................ 34
7.4.4.4 Decrement Value Block ‘-’....................................................................................................... 34
7.4.4.5 Copy Value Block ‘=’ ............................................................................................................... 35
7.4.5 Mifare® PLUS Related Commands.............................................................................................. 36
7.4.5.1 Write Personalization Data ‘nwp’ ............................................................................................. 36
7.4.5.2 Commit Personalization ‘ncp’................................................................................................... 37
7.4.5.3 Write AES Sector Key / Special Block ‘nw’............................................................................. 37
7.4.5.4 Proximity Check ‘npc’ .............................................................................................................. 38
7.4.6 Transparent ISO14443-4 Transponder Access ‘t’ ......................................................................... 39
7.5 Setup Related Commands of the Reader............................................................................ 40
7.5.1 Read Byte from EEPROM ‘rp’ ..................................................................................................... 40
7.5.2 Write Byte to EEPROM ‘wp’ ....................................................................................................... 40
7.5.3 Set Configuration Flags ‘of’.......................................................................................................... 41
7.5.4 Set Configuration Register ‘og’ .................................................................................................... 42
7.5.5 Set Tag Type ‘oa’ / ‘ob’ / ‘op’ / ‘os’ / ‘ot’ / ‘ov’........................................................................... 42
7.5.6 Include Tag Type ‘o+a’ / ‘o+b’ / ‘o+p’ / ‘o+s’ / ‘o+v’ ................................................................. 43
7.5.7 Exclude Tag Type ‘o-a’ / ‘o-b’ / ‘o-p’ / ‘o-s’ / ‘o-v’..................................................................... 43
7.5.8 Key Management .......................................................................................................................... 44
7.5.8.1 Write Mifare® Classic Key ‘wm’ ............................................................................................. 44
7.5.8.2 Write AES / Triple DES Key ‘wd’............................................................................................ 44
7.5.9 SAM related Commands............................................................................................................... 45
7.5.9.1 Init SAM ‘ei’ ............................................................................................................................. 45
7.5.9.2 SAM Transmit Data ‘et’............................................................................................................ 45
7.6 Miscellaneous Commands.................................................................................................... 46