|
OpenSRX 0.1.0
C++ library for interfacing with Keyence SR series barcode readers
|
OpenSRX provides two concrete communication backends, both implementing the OpenSRX::ICommInterface abstract class.
Use OpenSRX::SocketInterface for Ethernet (TCP/IP) connections. This is the most common setup for the SR-X series.
Use OpenSRX::SerialInterface for RS-232 serial connections.
You can configure parity, data bits, stop bits, and flow control through the constructor parameters. See the OpenSRX::SerialInterface class reference for details.
Both backends support switching between different command framing modes via OpenSRX::ICommInterface::setCommFormat. The available modes are defined in OpenSRX::CommFormat.