Set_protocol, Acr30 – ACS ACK30 Smart Keyboard User Manual

Page 20

Advertising
background image

ACR30 Reference Manual
Version 3.3 January 2009

Page 20 of 44

ACR30

C_SEL

The currently selected card type as specified in a previous SELECT_CARD_TYPE
command. A value of 00

H

means that no card type has been selected.

C_STAT

Indicates whether a card is physically inserted in the reader and whether the card is
powered up:

00

H

: no card inserted

01

H

: card inserted, not powered up

03

H

: card powered up

9.1.2.

SET_PROTOCOL

This command is used to control the line speed of the communication channel between ACR30
reader and host device. The line speed of the communication is controlled by two factors, namely, the
Delay Factor and the Baud Rate.

Command format

Instruction

Code

Data length

Data

DELAY N

03

H

01

H

to change only the Delay Factor (for RS232 reader only), or

Instruction

Code

Data length

Data

DELAY N

BAUD RATE

03

H

02

H

to change the Delay Factor and the Baud Rate (for RS232 reader only).

DELAY

Determines the time delay inserted by the ACR30 between two consecutive bytes sent in
order to adapt to slower host system speeds. The time delay is given by N * 0.1msec,
with N ranging from 0 ... 255 (00 - FF

H

). The default value is N = 0 (delay changes only

valid on RS232 reader).

Advertising