Specifications

Section 3. Commands, Formats, Timing
17
TRANSMISSIONS EXAMPLES
The following tables show transmission examples:
Table 3-3. Transmission Data Examples Not in Buffered Mode
Action Port Powered Insert Reader Data PC Data
Card Inserted 1 (0x31)
PC Sends Inquiry (if the application needs data
before card removed)
<ESC> I
(0x1B, 0x49)
Bad read on insert so reader sends error plus
card status
%E?;E?11 (0x25, 0x45, 0x3F, 0x3B,
0x45, 0x3F, 0x31, 0x31)
Card removed %<track 1 data>?;<track 2 data>?0
Card Inserted 1 (0x31)
PC Sends Inquiry (if the application needs data
before card removed)
<ESC> I
(0x1B, 0x49)
Sends card data plus card status %<track 1 data>?;<track 2 data>?11
Card removed (card data is always transmitted
when the card is removed if not in buffered
mode)
%<track 1 data>?;<track 2 data>?0
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 just sends status <STX>1<ETX> (0x02, 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)