Reader to host formats – MagTek PORT POWERED User Manual

Page 20

Advertising
background image

Port Powered Insertion Reader

14

Table 3-2. Options and Reader Responses

COMMAND

PREFIX

TO SET OPTION

TO CLEAR OPTION

(DEFAULT)

READER FUNCTION

<ESC> (0x1B)

S (0x53)

s (0x73)

Send STX

<ESC> (0x1B)

E (0x45)

e (0x65)

Send ETX

<ESC> (0x1B)

C (0x43)

c (0x63)

Send CR

<ESC> (0x1B)

P (0x50)

p (0x70)

Send ESC

<ESC> (0x1B)

B (0x42)

b (0x62)

Buffered Mode

Note

If DTR is dropped and restored, the setup options are returned to
the default state.


READER TO HOST FORMATS

The following diagram represents the format of the data transmitted to the Host:




Where optional characters

STX (0x02)

=

Start of text character

ESC (0x1B) =

Escape character

CR (0x0D)

=

Carriage return character

ETX (0x03) =

End of Text

are used to frame data.

%

=

Start Sentinel Track 1

;

=

Start Sentinel Track 2

+

=

Start Sentinel Track 3

?

=

End Sentinel

The LRC character is not transmitted.

Track 2 data may be represented as follows:


SS Track 2 Data ES Card Sensor

Optional

STX ESC % Track 1 Data ? ; Track 2 Data ? + Track 3 Data ? Sensor CR ETX

Advertising