![Jinmuyu Electronics JMY601H Скачать руководство пользователя страница 17](http://html.mh-extra.com/html/jinmuyu-electronics/jmy601h/jmy601h_user-manual_2018562017.webp)
Mifare & ISO14443A & ISO14443B & ISO15693 Module
http://www.jinmuyu.com
Copyright © 2003-2011 Jinmuyu Electronics Co., LTD. All rights reserved.
16/35
Key: 6 bytes, the key of the card
Data: 16 bytes data to write
Module returns success:
0x02
0x22
Checksum
Module returns failure:
0x02
0xDD
Checksum
5.2.16
Mifare 1K/4K multi blocks write
Function:
write multi blocks. The function is supported only in the same sector. If cross
sector, it will fail while writing the first block and prompt the error in the returned result.
Host sends:
0x0A 0x2B Key ID Start Block Blocks Key Data Checksum
Key ID: 1 byte, key identification
Start Block: 1 byte, the start block to write
Blocks: 1 byte, number of block to write
Key: 6 bytes, the key of the card
Data: (blocks)*(16 bytes data to write)
Module returns success:
0x42
0x2B
Checksum
Module returns failure:
0x02
0xD4
Checksum
5.2.17
Mifare 1K/4K purse block initialize
Function:
initialize a block of Mifare 1K/4K to a purse. The format of purse uses Mifare
1K/4K’s default. The key of the card could not use as a purse.
Host sends:
0x0E
0x23
Key ID
Block
Key
Value
Checksum
Key ID: 1 byte, Key identification
Block: 1 byte, Block number to initialize, 0 to 0x3F for S50; 0 to 0xFF for S70
Key: 6 bytes, the key of the card