Transmissions examples – MagTek PORT POWERED User Manual
Page 23

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)
(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
%
Card Inserted
1 (0x31)
PC Sends Inquiry (if the application needs data
before card removed)
(0x1B, 0x49)
Sends card data plus card status
%
Card removed (card data is always transmitted
when the card is removed if not in buffered
mode)
%
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
(0x1B, 0x42)
PC Sets STX
(0x1B, 0x53)
PC Sets ETX
(0x1B, 0x45)
Card Inserted
PC Sends Inquiry
(0x1B, 0x49)
If bad read on insert, reader just sends status
If good read on insert, sends card data
Card removed
PC Sends Inquiry
(0x1B, 0x49)
Sends card data
PC Sends Inquiry
(0x1B, 0x49)
Sends card data (data remains in buffer until a
release command has been received)
Buffer cleared (released)
(0x1B, 0x52)
PC Sends Inquiry
(0x1B, 0x49)
Sends status