INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
serial.h int readStringUntil(std::string &str, char termchar) Definition: serial.cpp:650 int fileDescriptor() This gives direct access to the file descriptor: be careful with this... Definition: serial.h:145 std::string getStatusString() Print some diagnostic information about the current status of the port to cout. Definition: serial.cpp:794 Serial(const std::string &dev, int baudRate, const Timeout &timeout, int debuglevel=0, bool useLockFile=true) Definition: serial.cpp:359 void setBaudRate(int baud) Sets the baud rate. Flushes any data. Definition: serial.cpp:455 int write(const void *buf, int count) Writes some data. Returns the number of bytes written. Definition: serial.cpp:849 void drain() Finishes transmission from output buffers and drains input buffers. Definition: serial.cpp:837 int bytesAvailable() Returns the number of bytes available for reading (non-blocking). Definition: serial.cpp:704 void setDebugLevel(int debugLevel) Debug messages are printed to stdout. debugLevel should be in the range [0,3]. Definition: serial.h:71 |