Genovation, Inc.
47
MiniTermPro
^J – 0Ah – Get Card Reader Type
Issuing this command will prompt the MiniTerm to respond with a byte
representing what card reader the MiniTerm contains and whether or not the card
reader uses packet delimiters.
Example: Get the card reader type.
Prefix Command Type
ASCII:
@
^J
Dec:
64
10
Hex:
40h
0Ah
The most significant bit in the response indicates whether or not the card reader
uses packet delimiters. A one in bit 7 indicates that it does. The delimiters are
generally STX (0x02) and ETX (0x03). A zero in bit 7 indicates that there are no
packet delimiters and the data is forwarded to the host in raw mode.
The remaining bits determine the card type:
o
0x00 indicates no card or unable to determine the card reader type.
o
0x01 indicates an internal barcode, magnetic for RFID card reader.
o
0x02 indicates an externally wedged RS232 device.
An internal card reader is normally packet-delimited and would generate the
following response.
Response
ASCII:
Alt+0129
Dec:
129
Hex:
81h