Technical Manual
East Wind Technologies, Inc.
Copyright © 2022 East Wind Technologies, Inc. All rights reserved. 21/59
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
MIFARE 1K/4K’s default. The card's key block and block 0 could not be used as a purse. For
more details about MIFARE 1K/4K card, please reference the datasheet.
Host sends:
Frame
0x23
Key ID
Block
Key
Value
Checksum
Key ID: 1 byte, Key identifier;
Block: 1 byte, Block number to be initialized;
Key: 6 bytes, the key of the card;
Value: 4 bytes, initialized value, LSB first.
Success:
Frame
0x23
Checksum
Failure:
Frame
0xDC
Checksum
3.4.7 MIFARE 1K/4K Purse Read
Function: Read a purse of MIFARE 1K/4K. The format of purse uses MIFARE 1K/4K’s
default. Module will read the data in the block and check if it is a purse format. If the purse
format is incorrect, the respose will show failure.
Host sends:
Frame
0x24
Key ID
Block
Key
Checksum
Key ID: 1 byte, Key identifier;
Block: 1 byte, block number of the value to be read;
Key: 6 bytes, the key of the card.
Success:
Frame
0x24
Data
Checksum
Data: 4 bytes value data, LSB first.
Failure:
Frame
0xDB
Checksum
3.4.8 MIFARE 1K/4K Purse Increment
Function: Purse increment of MIFARE 1K/4K. The format of the purse uses MIFARE
1K/4K’s default. Purse increment means the increment on the basis of the original value.
Host sends:
Frame
0x25
Key ID
Block
Key
Value
Checksum
Key ID: 1 byte, Key identifier;
Block: 1 byte, block number of purse to be increment;