MagTek IntelliStripe 320 99875168 User Manual

Page 125

Advertising
background image

Appendix C. Mifare Command

119

OpCode

Name: Write Macro

Description: Enables Write operation of Multiple Blocks of one Sector

Data structure:
Op Code (one byte),

Address (one byte) Bits 0-3 for Sector Number,
Bits 4-7 for Block Mask (Bit 4 for Block 0 up to Bit 7 for Block
3)
Auth2KeySel (one byte) 0 – Use Key A
1 – Use Key B
Data (16,32,48,64 bytes) Sequential Data to Write of all requested Blocks,
from Lowest to
Highest - Each Block must be 16 bytes length.

C1

Data Response structure:
Op Code (one byte) Approve completion of Write operation

Other

RFU



EXAMPLE:

To use a Mifare 1K Classic Card

(1) Load the key for the sector that will be used into the OTI module, this needs to be performed
only once, it gets saved in the contactless reader’s flash memory.

(2) Send a POLL command in the ACTIVATE ONCE only mode. Note that this will disable
automatic reading of cards that have built-in applications (PayPass, VisaWave, ExpressPay,
Discover)

(3) After a card is detected, the UID will be sent back by the reader.

(4) Send the AUTHENTICATE A command for the sector you want to read.

(5) Read BLOCK.

Follow the same steps above for writing a block.

Examples:
Sending Load Transport key “BD DE 6F 37 83 83” and New key “FF FF FF FF FF FF” for
Sector 0:
00 0E 81 00 3E DF 78 0F A9 00 00 BD DE 6F 37 83 83 FF FF FF FF FF FF

Advertising