beautypg.com

Commands, Control commands, Get_acr_stat – ACS ACK30 Smart Keyboard User Manual

Page 19: Acr30

background image

ACR30 Reference Manual
Version 3.3 January 2009

Page 19 of 44

ACR30

9.0. Commands

The commands executed by the ACR30 can generally be divided into two categories, namely, Control
Commands and Card Commands.

Control Commands control the internal operation of the ACR30. They do not directly affect the card
inserted in the reader and are therefore independent of the selected card type.

Card Commands are directed toward the card inserted in the ACR30. The structure of these
commands and the data transmitted in the commands and responses depend on the selected card
type.

9.1. Control Commands

9.1.1.

GET_ACR_STAT

This command returns relevant information about the particular ACR30 model and the current
operating status, such as, the firmware revision number, the maximum data length of a command and
response, the supported card types, and whether a card is inserted and powered up.


Command format

Instruction

Code

Data length

01

H

00

H


Response data format

INTERNAL

MAX_C MAX_R

C_TYPE

C_SEL C_STAT

INTERNAL 10 bytes data for internal use only

MAX_C

The maximum number of command data bytes.

MAX_R

The maximum number of data bytes that can be requested to be transmitted in a
response.

C_TYPE

The card types supported by the ACR30. This data field is a bitmap with each bit
representing a particular card type. A bit set to '1' means the corresponding card type is
supported by the reader and can be selected with the SELECT_CARD_TYPE command.
The bit assignment is as follows:

byte 1

2

card type

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0

See Appendix A for the correspondence between these bits and the respective card
types.