Advanced Card Systems Limited ACR1281S Benutzerhandbuch
ACR1281S
Advanced Card Systems Ltd.
Page 53 of 56
BASIC PROGRAM FLOW FOR CONTACT APPLICATIONS
Step 0. Start the application and insert a ICC Card into the ICC Interface.
Step 1. Power on the ICC Interface
Step 2. Access the ICC by exchanging APDUs.
..
..
Step N. Power off the ICC Interface. Shut down the application.
1. How to access ACOS3 ICC Cards (ISO7816)?
Typical sequence may be:
-
Insert the Card and Power On the ICC I
n
terface
-
Read / Update the date of the Card
Step 1) Power on the Tag
Command:
Command:
02
62 00 00 00 00 01 00 00 00 00
63 03
ACK:02 00 00 03
Response:
Response:
02
80 13 00 00 00 01 00 00 81 00
3B BE 11 00 00 41 01 38 00 00 01 00 00 00 00 00 01
90 00
6F 03
The ATR of the Card is
3B BE 11 00 00 41 01 38 00 00 01 00 00 00 00 00 01 90 00
In which,
TD1 = 00
and TD2 is absent ,So the Card is a T=0 ICC Card
2) Get a random for the ACOS3
Command:
02
6F 05 00 00 00 01 00 00 00 00
80 84 00 00 08
67 03
ACK:02 00 00 03
Response:
Response:
02
80 0A 00 00 00 01 00 00 81 00
C2 FF 2D 23 C5 F6 5C F2 90 00
34 03
3) Create a file at the Card and Open it
Command:
02
6F 0D 00 00 00 01 00 00 00 00
80 20 07 00 08 41 43 4F 53 54 45 53 54
C4 03
ACK:02 00 00 03
Response:
Response:
02
80 02 00 00 00 01 00 00 81 00
90 00
92 03
Command:
02
6F 07 00 00 00 01 00 00 00 00
80 A4 00 00 02 FF 02
B2 03
ACK:02 00 00 03
Response:
Response:
02
80 02 00 00 00 01 00 00 81 00
90 00
92 03
Command:
02
6F 09 00 00 00 01 00 00 00 00
80 D2 00 00 04 00 00 01 00
30 03
ACK:02 00 00 03
Response:
Response:
02
80 02 00 00 00 01 00 00 81 00
90 00
92 03
Command:
02
6F 07 00 00 00 01 00 00 00 00
80 A4 00 00 02 FF 04
B4 03
ACK:02 00 00 03
Response:
Response:
02
80 02 00 00 00 01 00 00 81 00
90 00
92 03
Command:
02
6F 0B 00 00 00 01 00 00 00 00
80 D2 00 00 06 FF 01 00 00 55 55
CF 03
ACK:02 00 00 03
Response:
02
80 02 00 00 00 01 00 00 81 00
90 00
92 03