Owner manual
Connecting to Readers
20 Level 1 API
Connecting to Readers
Reader Object
Create
The operations of the MercuryAPI are centered around a single object that represents the
state of the reader. This object is called “Reader”. Except when otherwise specified, all
functions described in this document are of the Reader class.
The user obtains a Reader object by calling a static factory method:
Reader create(String uriString);
The create() method return an instance of a Reader class that is associated with a
RFID reader on the communication channel specified by the
URI Syntax of the
uriString parameter. There are currently two subclasses of Reader:
SerialReader
The SerialReader class provides access to commands and configuration specific
to devices which communicate over and use the embedded modules serial
command protocol. These devices include:
– Mercury5e Series (including the M5e, M5e-Compact, M5e-EU, and M5e-PRC)
– USB Reader (M5e-based)
– Vega Reader (M5e-Based)
– Mercury6e Series (including the M6e, M6e-A, and M6e-PRC)
– Micro Series (including the Micro and Micro-LTE)
RqlReader
The RQLReader class provides access to commands and configuration specific to
devices which can use the RQL command protocol. These devices include:
– Astra (Not Astra-EX) (v4.1.24 firmware)
LLRPReader
The LLRPReader class provides access to commands and configuration specific to
devices which can use the LLRP communication protocol. These devices include:
– Mercury 6 (v4.9.2 firmware and later)