User's Manual

BOOSTERS 2G
© Nedap IDEAS, P.O. Box 103, NL-7140 AC GROENLO Page 13 of 21
4.2.2.6 READING MIFARE CLASSIC SECTOR DATA
The Mifare Classic 1K and 4K cards are fully supported. Also other Mifare cards which are compatible (such as
Mifare Plus and SmartMX) can be used. The memory is organized in sectors with blocks. Every block consists of
16 bytes.
Upon configuring the smartcard-booster for reading MIFARE DESFIRE cards, the following parameters must be
specified.
Sector Number
Sector number to read data from (in range from 0 .. 39).
Block Number
Block number to read data from. The block number must be in range from 0 .. 3 for the first 32 sectors. For
the sectors 32 .. 39 the block number can range from 0 .. 15.
Data Length
Number of bytes to transmit. The maximum number of bytes is dependant upon the operating-mode and
frame-length settings.
Data Offset
Number of bytes to skip.
Read Key
Key A or Key B can be used to authenticate to the card.
Select which key to use and the key itself.
Example:
Data to read: MIFARE Classic sector data
Byte order: Normal
Sector Number: 1
Block Number: 1
Data Length: 8
Data Offset: 2
The settings above will read the data below shown in blue.
Sector Block 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
1
0 x x x x x x x x x x x x x x x x
1 x x D D D D D D D D x x x x x x
2 x x x x x x x x x x x x x x x x
3 x x x x x x x x x x x x x x x x
Reverse example:
Data to read: MIFARE Classic sector data
Byte order: Reverse
Sector Number: 2
Block Number: 0
Data Length: 10
Data Offset: 6
The settings above will read the data below shown in blue.
Sector Block 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
2
0 x x x x x x
D D D D D D D D D D
1 x x x x x x x x x x x x x x x x
2 x x x x x x x x x x x x x x x x
3 x x x x x x x x x x x x x x x x