Go to the documentation of this file.
40 #ifndef SERIAL_IMPL_UNIX_H
41 #define SERIAL_IMPL_UNIX_H
51 using std::invalid_argument;
69 unsigned long baudrate,
96 read (uint8_t *buf,
size_t size = 1);
99 write (
const uint8_t *data,
size_t length);
192 void reconfigurePort ();
219 #endif // SERIAL_IMPL_UNIX_H
221 #endif // !defined(_WIN32)
void setBaudrate(uint32_t baudrate)
void setParity(parity_t parity)
void setTimeout(Timeout &timeout)
parity_t getParity() const
std::string getPort() const
void setRTS(bool level=true)
pthread_mutex_t write_mutex
void setBytesize(bytesize_t bytesize)
MillisecondTimer(const uint32_t millis)
std::chrono::nanoseconds duration
stopbits_t getStopbits() const
void setPort(const std::string &port)
static timespec timespec_now()
void setFlowcontrol(flowcontrol_t flowcontrol)
uint32_t getBaudrate() const
void sendBreak(int duration)
flowcontrol_t getFlowcontrol() const
void setStopbits(stopbits_t stopbits)
Timeout getTimeout() const
void setDTR(bool level=true)
bytesize_t getBytesize() const
void waitByteTimes(size_t count)
pthread_mutex_t read_mutex
void setBreak(bool level=true)
size_t write(const uint8_t *data, size_t size)
size_t read(uint8_t *buffer, size_t size)
flowcontrol_t flowcontrol_
clober_serial
Author(s):
autogenerated on Wed Mar 2 2022 00:01:24