Technical Manual

East Wind Technologies, Inc.
Copyright ©
2022 East Wind Technologies, Inc. All rights reserved.
25/66
Checksum
Data
0x2A
Frame
Data: blocks * 16 bytes card data per block
Failure:
Frame
0xD5
Checksum
3.4.4 MIFARE 1K/4K Data Block Write
Function: Write the data to a block of MIFARE 1K/4K.
Host sends:
Frame
0x22
Key ID
Block
Key
Data
Checksum
Key ID: 1 byte, Key identifier;
Block: 1 byte, Block number to be written;
Key: 6 bytes, the key of the card;
Data: 16 bytes data to be written.
Success:
Frame
0x22
Checksum
Failure:
Frame
0xDD
Checksum
3.4.5 MIFARE 1K/4K Multi-Blocks Write
Function: Write multi data blocks. The function is supported only in the same sector. If
crossing sector, it will fail while writing the first block in the next sector and then prompt the
error in the returned result.
Host sends:
Frame
0x2B
Key ID
Start Block
Blocks
Key
Data
Checksum
Key ID: 1 byte, key identifier;
Start Block: 1 byte, the start block number to be written;
Blocks: 1 byte, number of blocks to be written;
Key: 6 bytes, the key of the card;
Data: blocks * 16 bytes data to write per block
Success:
Frame
0x2B
Checksum
Failure:
Frame
0xD4
Checksum
3.4.6 MIFARE 1K/4K Purse Block Initialization
Function: Initialize a block of MIFARE 1K/4K as a purse. The format of purse uses