INTRODUCTION Overview Download and Install Documentation Publications REPOSITORY Libraries DEVELOPER Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
serialport.h 11 * This work is a product of the National Institute of Advanced Industrial Science and Technology,
16 * flexiport is free software: you can redistribute it and/or modify it under the terms of the GNU
17 * Lesser General Public License as published by the Free Software Foundation, either version 3 of
unsigned int GetBaudRate() const Get the current baud rate. Definition serialport.h:114 void SetCanWrite(bool canWrite) Set the write permissions of the port. Definition serialport.cpp:793 bool IsOpen() const Check if the port is open. Definition serialport.h:109 void Flush() Flush the port's input and output buffers, discarding all data. Definition serialport.cpp:701 void SetCanRead(bool canRead) Set the read permissions of the port. Definition serialport.cpp:783 ssize_t Write(const void *const buffer, size_t count) Write data to the port. Definition serialport.cpp:643 ssize_t BytesAvailableWait() Get the number of bytes waiting after blocking for the timeout. Definition serialport.cpp:584 ssize_t BytesAvailable() Get the number of bytes waiting to be read at the port. Returns immediatly. Definition serialport.cpp:549 std::string GetStatus() const Get the status of the port (type, device, etc). Definition serialport.cpp:747 void Drain() Drain the port's input and output buffers. Definition serialport.cpp:722 void SetTimeout(Timeout timeout) Set the timeout value in milliseconds. Definition serialport.cpp:777 ssize_t Read(void *const buffer, size_t count) Read from the port. Definition serialport.cpp:409 ssize_t ReadFull(void *const buffer, size_t count) Read the requested quantity of data from the port. Definition serialport.cpp:491 FlexiPort data communications library. |