ACR122S – Communication Protocol
Version 2.01
www.acs.com.hk
Page 40 of 57
RDR -> 02 00 00 03 (Waiting the Tag)
RDR -> 02 80 05 00 00 00 00 01 01 00 00
RDR -> D5 41 [00] 90 00 [Checksum] 03
Note:
Restore the value of Block
05
(cancel the prior Increment or Decrement operation).
HOST -> FF 00 00 00 05 D4 40
01
C2
05
Step 4. Read the content of Block
05
.
HOST -> 02 6F 0A 00 00 00 00 01 00 00 00
HOST -> FF 00 00 00 05 D4 40
01
30
05
[Checksum] 03
RDR -> 02 00 00 03 (Waiting the Tag)
RDR -> 02 80 15 00 00 00 00 01 01 00 00
RDR -> D5 41 [00]
65 00 00 00 9A FF FF FF 65 00 00 00 05 FA 05 FA
90 00 [Checksum] 03
In which, the value =
101 (dec)
Step 5. Copy the value of Block
05
to Block
06
(dec)
.
HOST -> 02 6F 0A 00 00 00 00 01 00 00 00
HOST -> FF 00 00 00 05 D4 40
01
C2
05
[Checksum] 03
RDR -> 02 00 00 03 (Waiting the Tag)
RDR -> 02 80 05 00 00 00 00 01 01 00 00
RDR -> D5 41 [00] 90 00 [Checksum] 03
HOST -> 02 6F 0A 00 00 00 00 01 00 00 00
HOST -> FF 00 00 00 05 D4 40
01
B0
06
[Checksum] 03
RDR -> 02 00 00 03 (Waiting the Tag)
RDR -> 02 80 05 00 00 00 00 01 01 00 00
RDR -> D5 41 [00] 90 00 [Checksum] 03
Step 6. Read the content of Block
06
.
HOST -> 02 6F 0A 00 00 00 00 01 00 00 00
HOST -> FF 00 00 00 05 D4 40
01
30
06
[Checksum] 03
RDR -> 02 00 00 03 (Waiting the Tag)
RDR -> 02 80 15 00 00 00 00 01 01 00 00
RDR -> D5 41 [00]
65 00 00 00 9A FF FF FF 65 00 00 00 05 FA 05 FA
90 00 [Checksum] 03
In which, the value =
101 (dec).
The Adr “
05 FA 05 FA
” tells us the value is copied from Block 05.
Note:
Please refer to the Mifare specification for more detailed information.