Reader to host message format – MagTek MT-211232 RS-232 1 OR 2 TRACK User Manual

Page 26

Advertising
background image

MT-211 RS-232 Swipe Reader, 1 or 2 Tracks


18

READER TO HOST MESSAGE FORMAT

Figure 3-1 shows the format in which data is transmitted after a card is read successfully. Track
data is sent in the following order: SS, Track Data, ES.

<STX> <ESC> SS CARD

DATA ES

<CR> <ETX>



End of Text
Character (03
Hex) Optional.
Set Switch A8
to ON



Carriage Return
Character (OD Hex)
Optional. Set Switch B1
to ON.

End

Sentinel

Character

(ASCII “?”)


Card

Data

in

ASCII

Track

Order

(If an inquiry is sent but no card was

read, an ASCII "R" will be sent to

indicate

ready.)

Start Sentinel Character.

(ASCII “%” for ISO Track 1)

(ASCII “;” for ISO Track 2)

Escape

Character

(1B

Hex)

Optional.

Set Switch A7 to ON


Start of Text Character (02 Hex),
Optional. Set Switch A6 to ON.

Figure 3-1. Reader to Host Message - Successful Read

Figure 3-2 shows the data format transmitted after a card is read unsuccessfully. If an error is
detected, an E will be transmitted (if dual track, the error indicator for the higher density track
will be transmitted first).

Advertising