ACR89U-A1 – Reference Manual
Version 1.04
www.acs.com.hk
Page 4 of 57
1.0. Introduction
This manual describes the use of ACR89 software programming interface to control the built-in
accessories of the ACR89 multi-functional card reader. Built-in accessories are defined to be the
keypad, LCD display, LEDs, buzzer and real-time clock, embedded in ACR89. Such components are
not controlled through the smart card reader library.
There are two ways to control the ACR89 peripherals:
1. PC/SC Escape command
The
SCardControl()
function of PC/SC interface can be used to issue escape commands,
which encapsulate the CCID command messages, to control the ACR89 peripherals.
2. Dynamic link library (or DLL)
We will use the term ACR89 DLL to refer to this interfaces in the following text. The ACR89
DLL is based on the C programming language and is available on Windows 7, Vista and XP.
The name of the DLL is
acr89.dll
and the functions described in this document can be found
in
acr89.h
, the header file that exposes the functions to be used by applications.
1.1. Document Overview
•
Section 3 discusses the PC/SC Escape Command to control the device peripherals. It also
contains the ACR89 USB Communication Protocol for CCID commands messages
definitions.
•
Section 4 contains the ACR89 DLL (dynamic link library) API, which is completely
independent of the PC/SC sub-system of Windows. The library does not use any PC/SC to
communicate between ACR89 built-in peripherals and the application program as well.