Check Reader Device Service external definitions

The Check Reader Device Service has the following data externalized in the services definition file:
Table 1. CheckReader tag attributes
Attributes Attribute description
id Service name
port Asynchronous COM port used. Possible values are 1 to 4.

Default: 1.
baudRate Baudrate required by reader.

Default: 9600.
dataBits Data bits required by reader, 7 or 8.

Default: 7.
stopBits Stop bits required by reader, 1 or 2.

Default: 1.
parity Parity required by reader. Three different values are supported:
  • even (default)
  • odd
  • none
timeout Amount of time allowed for a response from the reader device; specified in milliseconds.
checkLink Specifies whether or not the RS-232 port lines CTS and DSR must be checked prior to any operation.
trace Indicates if console protocol trace is enabled. A byte level trace of the communication with the reader is displayed at the console. if set to yes. Set to no otherwise.

Default: no
reset Indicates if reader device supports RESET message.

Default: yes.
The following is an example of an XML tag that defines a Check Reader device service:
<CheckReader id="checkReader" port="1" baudRate="9600" dataBits="7" 
    stopBits="1" parity="even" timeout="11000" checkLink="yes" 
    trace="yes" reset="yes" />