ACR122S – Communication Protocol
Version 2.01
www.acs.com.hk
Page 34 of 57
Tag Command (InDataExchange) = “D4 40 01”
Tag Command (Write Multi-Data) = “5A”
Tag Address (Block No.00-3F) = “04 “(Block No. 4) (refer to below Fig. 3)
Tag Data = “00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47”
Figure 3
: Tag Address “ADD8”
To send an APDU to the slot 0 (default), sequence number = 1.
HOST -> 02 6F 3B 00 00 00 00 01 00 00 00
FF 00 00 00 36 D4 40 01 5A 04 30 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
45 46 47
[Checksum] 03
RDR ->
02 00 00 03
RDR ->
02 80 04 00 00 00 00 01 01 00 00
D5 09 90 00
[Checksum] 03
The APDU Response is “D5 09 90 00”
In which,
Response returned by the contactless chip = “D5 09 90 00”
Write Tag Data = “00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47”
Status Code returned by the reader = “90 00”
If Status Code returned by the reader = “63 00” that mean this operation is not complete.