![Jinmuyu Electronics JMY601H Скачать руководство пользователя страница 15](http://html.mh-extra.com/html/jinmuyu-electronics/jmy601h/jmy601h_user-manual_2018562015.webp)
Mifare & ISO14443A & ISO14443B & ISO15693 Module
http://www.jinmuyu.com
Copyright © 2003-2011 Jinmuyu Electronics Co., LTD. All rights reserved.
14/35
Module returns failure:
0x02
0xDF
Checksum
5.2.12
Mifare 1K/4K data block read
Function:
read Mifare 1K/4K data block
Host sends:
0x0A
0x21
Key ID
Block
Key
Checksum
Key ID: 1 byte, Key
identification
BIT0 = 0: Key A; BIT0 = 1: Key B;
BIT1 = 0: using the key in the command; BIT1 = 1: using the key downloaded by
command 0x2D
BIT6:BIT5:BIT4:BIT3:BIT2: if use the downloaded key, this is the index of the key
(IMPORTANT: please read Chapter 5.3 about Key
identification
)
Block: 1 byte, Block number to read, 0 to 0x3F for S50; 0 to 0xFF for S70
Key: 6 bytes, the key of the card
Module returns success:
0x12
0x21
Data
Checksum
Data: 16 bytes card data
Module returns failure:
0x02
0xDE
Checksum
5.2.13
Mifare 1K/4K sector (4 blocks) read
Function:
read Mifare 1K/4K sector (4 blocks). For S50 and sector number less than 32 of
S70, this command is called read sector, it will read the sector trailer. For sector 32 to 39 of
S70, this command is called “read 4 blocks”. Because the sectors are include 16 blocks, and
then module will read 4 blocks. If you need to read the 16 blocks in these sectors, you need
do this command 4 times to fill the requirements. The “Sector” in package is: read start
block number shift right 2 bits.
Host sends:
0x0A
0x29
Key ID
Sector
Key
Checksum