MagTek HALF CARD PORT User Manual

Page 27

Advertising
background image

Section 3. Commands, Formats, Timing


19

Table 3-4 shows transmission examples in the buffered mode with STX and ETX included:

Table 3-4. Transmission Data Examples in Buffered Mode With STX and ETX Included

Action

Port Powered Insert Reader Data

PC Data

PC Sets Buffered Mode

<ESC>B
(0x1B, 0x42)

PC Sets STX

<ESC>S
(0x1B, 0x53)

PC Sets ETX

<ESC>E
(0x1B, 0x45)

Card Inserted

<STX>1<ETX> (0x02, 0x31, 0x03)

PC Sends Inquiry

<ESC>I
(0x1B, 0x49)

If bad read on insert, reader sends error
status

<STX>%E?;E?1<ETX>(0x02,0x25,
0x45,0x3F,0x3D,0x45,0x3F,0x31,0x03)

If good read on insert, sends card data

<STX>%<track 1 data>?;<track 2
data>?1<ETX>

Card removed

<STX>0<ETX> (0x02, 0x30, 0x03)

PC Sends Inquiry

<ESC>I
(0x1B, 0x49)

Sends card data

<STX>%<track 1 data>?;<track 2
data>?0<ETX>

PC Sends Inquiry

<ESC>I
(0x1B, 0x49)

Sends card data (data remains in buffer
until a release command has been
received)

<STX>%<track 1 data>?;<track 2
data>?0<ETX>

Buffer cleared (released)

<ESC>R
(0x1B, 0x52)

PC Sends Inquiry

<ESC>I
(0x1B, 0x49)

Sends status

<STX>0<ETX> (0x02, 0x30, 0x03)


Advertising