PC/SC Guide
Prox–DU & Prox–SU
www.gemalto.com
DOC119811A Public Use Page 107/129
The authentication operation is not required for a MIFARE
®
Ultralight chip.
If an authentication fails, the smart card is automatically deselected (MIFARE
®
specification). However the reader/writer automatically recovers the communication with the
smart card.
Read Binary command
The Read Binary command is used to read data from a MIFARE
®
memory area.
Data consist of a memory block (16 bytes) or a memory page (4 bytes).
This command is formatted as follows:
CLA INS P1 P2 Lc
FFh B0h ABLM ABLL Size
1 byte 1 byte 1 byte 1 byte 1 byte
The response is formatted as follows:
Data SW1 SW2
16 bytes 1 byte 1 byte
Where:
ABLM Address Block MSB 00h
ABLL Address Block LSB
MIFARE
®
1K
MIFARE
®
4K
MIFARE
®
Mini
MIFARE
®
Ultralight
00h – 3Fh
00h – FFh
00h – 13h
00h – 0Fh
Size Size of the memory area
MIFARE
®
1K, 4K, Mini
MIFARE
®
Ultralight
10h (size of the memory block)
04h (size of the memory page)
If this parameters is 00h then all the bytes
of the block will be returned (16 bytes or
4 bytes)
Data
MIFARE
®
1K, 4K, Mini
MIFARE
®
Ultralight
16-byte of data
4-byte of data
The first byte of the block is byte 0
Present only when there is no error in
the status report.
SW1-SW2 Command execution status