User's Manual

ACR122L-ACS Design Specification
Version 0.03 19/05/2010
Page
46
50
ACR122L
-
ACS
Example 5: To send an APDU to an ISO 14443-4 Type B Tag (Data Exchange)
Step 1: Issue a “Direct Transmit” APDU.
The USER APDU Command should be “00 84 00 00 08”
The Composed APDU Command should be “FF 00 00 00 08 D4 40 01 00 84 00 00 08”
#In which,
Direct Transmit APDU = “FF 00 00 00”
Length of the PN532_Tag Command = “08”
PN532 Command (InDataExchange) = “D4 40 01”
Tag Command (Get Challenge) = “00 84 00 00 08
To send an APDU to the slot 0 (default), sequence number = 5.
HOST -> 02 6F 0D 00 00 00 00 05 00 00 00
FF 00 00 00 08 D4 40 01 00 84 00 00 08
[Checksum] 03
RDR -> 02 00 00 03
RDR -> 02 81 0F 00 00 00 00 05 00 00 00
D5 41 00 01 02 03 04 05 06 07 08 90 00 90 00
[Checksum] 03
The APDU Response is
“D5 41 00 0B 01 02 03 04 05 06 07 08 90 00”
#In which,
Response returned by the PN532 =
“D5 41 00”
Response from the Type B Tag = “01 02 03 04 05 06 07 08 90 00
Status Code returned by the reader = “90 00”