User's Manual

ACR1281S
Advanced Card Systems Ltd. Page 26 of 56
PERIPHERALS CONTROL
The reader’s peripherals control is implemented by Escape Command.
1. Set Serial Communication Mode
APDU Command = {44 “CMD”}
APDU Response = {90 “Status”}
CMD Bit Map
Offset Description Description
Bit 0-3 Indicate Serial
Communication Speed
0 = 9600bps(Default)
1= 19200bps
2 = 38400bps
3 = 57600bps
4 = 115200bps
5 = 128000bps
6 = 230400bps
7 = 250000bps
8 = 256000bps
9 = 500000bps
Other value reserve for future use.
Bit 4 RFU RFU
Bit 5 RFU RFU
Bit 6 RFU RFU
Bit 7 Interrupt-In Message(CCID-
liked Format)
1 = Report Interrupt-In Message.
0 = Not report(Default).
The “Status” bit map is the same as “CMD”.
Example: change the communication speed to 115200bps
Command:
02 6B 02 00 00 00 01 00 00 00 00 44 04 28 03
ACK :
02 00 00 03
Response:
02 83 02 00 00 00 01 00 00 81 00 90 04 95 03
Remarks:
After the communication speed is changed successfully, the program has to adjust its
communication speed so as to continue the rest of the data exchanges.
The initial communication speed is 9600 bps (Default) and not report Interrupt-In Message.
2. Get Firmware Version
APDU Command = {E0 00 00 18 00}
APDU Response = {E1 00 00 00 “Frame Length” {Firmware Version}}
Example:
Command: 02 6B 05 00 00 00 01 00 00 00 00 E0 00 00 18 00 97 03
ACK:
02 00 00 03
Response:
02 83 12 00 00 00 01 00 00 81 00 E0 00 00 00 00 41 43 52 31 32 38 31 53 20 56 31 30
33 BC 03
In which, Firmware Version = 11 bytes;
e.g. Response = E1 00 00 00 0F 41 43 52 31 32 38 31 53 20 56 31 30 33