Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The Read-Binary command is used to read data from the contactless NFC tag/card. The command is applicable only for storage cards (MIFARE Classic/UL, Felica, ISO15693 and Jewel/Topaz cards). The format of the request and response for the command is as described below,
Request Format
| Command | Class | INS | P1 | P2 | Lc | Data In | Li |
|---|---|---|---|---|---|---|---|
| Read-Binary | 0xFF | 0xB0 | Address MSB | Address LSB | Length of Data In | Data | Length expected |
MIFARE Family
| Command | CLA | INS | P1 | P2 | Le |
|---|---|---|---|---|---|
| UL READ 16 | 0xFF | 0xB0 | 0x00 | 0x00 to 0x15 | 0x10 |
| CL 1k READ 16 | 0xFF | 0xB0 | 0x00 | 0x00 to 0x3F | 0x10 |
| CL 4k READ 16 | 0xFF | 0xB0 | 0x00 | 0x00 to 0xFF | 0x10 |
Jewel Family
| Command | CLA | INS | P1 | P2 | Le |
|---|---|---|---|---|---|
| READ ALL | 0xFF | 0xB0 | 0x00 | 0x00 | 0x00 |
| RID | 0xFF | 0xB0 | 0x00 | 0x00 | 0x06 |
| READ | 0xFF | 0xB0 | Block No | Block Offset | 0x01 |
| READ 8 | 0xFF | 0xB0 | Block No | 0x00 | 0x08 |
| READ SEG | 0xFF | 0xB0 | 0x00 | Segment Addr | 0x80 |
Felica Family
| Command | CLA | INS | P1 | P2 | Lc | Data In | |||
|---|---|---|---|---|---|---|---|---|---|
| CHECK | 0xFF | 0xB0 | 0x00 | 0x00 | Length of Data In | Number of Service | Service Code List | Number of blocks | Block list |
ISO 15693 Family
| Command | CLA | INS | P1 | P2 | Le |
|---|---|---|---|---|---|
| READ | 0xFF | 0xB0 | Block Number | 0x00 | 0x4 |
| Response | ||
|---|---|---|
| Data out | SW1 | SW2 |
Related topics
Near field communication (NFC) design guide