|
OpenSRX 0.1.0
C++ library for interfacing with Keyence SR series barcode readers
|
#include <spdlog/spdlog.h>#include <asio.hpp>#include <mutex>#include <string>Go to the source code of this file.
Classes | |
| class | OpenSRX::ICommInterface |
| Abstract interface for communicating with a scanner. More... | |
Namespaces | |
| namespace | OpenSRX |
Enumerations | |
| enum class | OpenSRX::ErrCode { OpenSRX::CMD_UNDEFINED = 0 , OpenSRX::MISMATCHED_CMD_FMT = 1 , OpenSRX::PARAM1_OUT_OF_RANGE = 2 , OpenSRX::PARAM2_OUT_OF_RANGE = 3 , OpenSRX::PARAM2_NOT_IN_HEX = 4 , OpenSRX::PARAM2_IN_HEX_BUT_OUT_OF_RANGE = 5 , OpenSRX::TWO_OR_MORE_MARKS_IN_PRESET_DATA = 10 , OpenSRX::AREA_SPECIFICATION_DATA_INCORRECT = 11 , OpenSRX::FILE_DOES_NOT_EXIST = 12 , OpenSRX::TMM_LON_MM_OUT_OF_RANGE = 13 , OpenSRX::TMM_KEYENCE_COMMUNICATION_CANNOT_BE_CHECKED = 14 , OpenSRX::COMMAND_NOT_EXECUTABLE_IN_CURRENT_STATUS = 20 , OpenSRX::BUFFER_OVERFLOW = 21 , OpenSRX::PARAMETER_LOAD_OR_SAVE_ERROR = 22 , OpenSRX::CONNECTED_TO_AUTOID_NETWORK_NAVIGATOR = 23 , OpenSRX::DEVICE_FAULT = 99 } |
| Error codes returned by the scanner in "ER,CMD,code" responses. More... | |
| enum class | OpenSRX::CommFormat { OpenSRX::NO_HEADER_CR_IN_CR_OUT = 0 , OpenSRX::NO_HEADER_CRLF_IN_CR_OUT = 1 , OpenSRX::STX_HEADER_ETX_IN_ETX_OUT = 2 } |
| Communication framing format for command/response exchange. More... | |