ACR1281U-C1 – Application Programming Interface
Version 1.08
www.acs.com.hk
Page 67 of 96
Target Block Number
(1 byte)
Block number where the value from the source block will be copied
to. The source and target value blocks must be in the same sector.
Response
Response
Data Out
Result
SW1
SW2
Where:
SW1 SW2
= 90 00h means the operation is completed successfully.
= 63 00h means the operation failed.
Example 1
:
Store a value
“1” into block
05h
APDU = {
FF D7
00
05
05
00
00 00 00 01h}
Example 2
:
Read the value
block
05h
APDU = {
FF B1
00
05
00h}
Example 3
:
Copy the value
from value block
05h
to value block
06h
APDU = {
FF D7
00
05
02
03
06h
}
Example 4
:
Increment the value
block
05h
by “5”
APDU = {
FF D7
00
05
05
01
00 00 00 05h}
5.2.4.4.
Access PC/SC-compliant tags (ISO 14443-4)
Basically, all ISO 14443-4–compliant cards (PICCs) can understand the ISO 7816-4 APDUs. The
ACR1281U-C1 reader only needs to communicate with the ISO 14443-4–compliant cards through
exchanging ISO 7816-4 APDUs and responses. ACR1281U-C1 will handle the ISO 14443 Parts 1-4
Protocols internally.
The MIFARE Classic 1K/4K, MIFARE Mini and MIFARE Ultralight tags are supported through the
T=CL emulation. Simply treat the MIFARE tags as standard ISO 14443-4 tags. For more information,
see
PICC Commands (T=CL Emulation) for MIFARE 1K/4K Memory Cards
Command
Command
Class
INS
P1
P2
Lc
Data In
Le
ISO 7816 Part
4 Command
Length
of the
Data In
Expected
Length of the
Response Data
Response
Response
Data Out
Result
SW1
SW2
Where:
SW1 SW2
= 90 00h means the operation is completed successfully.
= 63 00h means the operation failed.