syncSerialPort.h
Go to the documentation of this file.
46 SyncSerialPort(const char* port, int baud_rate, boost::asio::serial_port_base::flow_control::type flow, TypeRec type = nocanonical);
Class which manages the logic relative to send/receive messages from Synchronous Serial Port....
Definition: syncSerialPort.h:36
InputOutputObject()
Constructor of the class.
Definition: syncSerialPort.h:23
size_t readWithTimeout(char *buff, size_t max_length, int timeout_ms)
Method to create a synchronous read of the Serial Port non blocking.
boost::asio::basic_waitable_timer< boost::chrono::steady_clock > steady_timer
Typedef to use a steady timer.
Definition: syncSerialPort.h:26
Class which manages the logic relative to send/receive messages from Serial Port. This class implemen...
Definition: serialPort.h:28
bool send(const char *buffer, int size)
Method to send data to serial port synchronously.
TypeRec
Enum to indicate how serial port must be configured.
Definition: serialPort.h:34
boost::asio::basic_waitable_timer< boost::chrono::steady_clock > steady_timer
Typedef to use a steady timer.
Definition: dpyMwClient.h:52