![Advanced Card ACR89U-A2 Reference Manual Download Page 45](http://html1.mh-extra.com/html/advanced-card/acr89u-a2/acr89u-a2_reference-manual_2855854045.webp)
ACR89U-A2 – Reference Manual
Version 1.01
www.acs.com.hk
Page 45 of 57
4.1.2.3.3. Read Binary Blocks
The Read Binary Blocks command is used for retrieving multiple data blocks from the PICC. The data
block/trailer block must be authenticated first.
Read Binary APDU Format (5 Bytes)
Command
Class
INS
P1
P2
Le
Read Binary
Blocks
FFh
B0h
00h
Block
Number
Number of
Bytes to
Read
Where:
Block Number
1 Byte. The block to be accessed.
Number of Bytes to Read
1 Byte. Maximum 16 bytes.
Read Binary Block Response Format (N + 2 Bytes)
Response
Data Out
Result
0 <= N <= 16 SW1 SW2
Read Binary Response Codes
Results
SW1 SW2
Meaning
Success
90 00h
The operation is completed successfully.
Error
63 00h
The operation has failed.
Example 1
: Read 16 bytes from the binary block
04h
(MIFARE 1K or 4K)
APDU = {FF B0 00
04
10}
Example 2
: Read 4 bytes from binary Page
04h
(MIFARE Ultralight)
APDU = {FF B0 00
04
04}
Example 3
: Read 16 bytes from binary Page
04h
(MIFARE Ultralight) (Pages 4, 5, 6 and 7 will be
read)
APDU = {FF B0 00
04
10}