Mifare & ISO14443A & ISO14443B & ISO15693 Module
http://www.jinmuyu.com
Copyright © 2003-2011 Jinmuyu Electronics Co., LTD. All rights reserved.
15/35
Key ID: 1 byte, Key identification
Sector: 1 byte, Sector number to read, 0 to 0x0F for S50; 0 to 0x3F for S70
Key: 6 bytes, the key of the card
Module returns success:
0x42
0x29
Data
Checksum
Data: 64 bytes card data
Module returns failure:
0x02
0xD6
Checksum
5.2.14
Mifare 1K/4K multi blocks read
Function:
read multi data blocks in the same sector. The function is supported only in the
same sector. If cross sectors, then read will fail.
Host sends:
0x0A
0x2A
Key ID
Start Block
Blocks
Key
Checksum
Key ID: 1 byte, key identification
Start Block: 1 byte, start block to read
Blocks: 1byte, number of block to read
Key: 6 bytes, the key of the card
Module returns success:
-
0x2A
Data
Checksum
Data: (blocks)*(16 bytes card data)
Module returns failure:
0x02
0xD5
Checksum
5.2.15
Mifare 1K/4K data block write
Function:
write the data to a block of Mifare 1K/4K.
Host sends:
0x1A
0x22
Key ID
Block
Key
Data
Checksum
Key ID: 1 byte, Key identification
Block: 1 byte, Block number to write, 0 to 0x3F for S50; 0 to 0xFF for S70