#include <serial.h>
Public Member Functions | |
int | CloseSerial (void *handle) |
base_data::RawData | getGpInputData () const |
roch_driver & | instance () |
int | OpenSerial (void **handle, const char *port_name) |
int | ReadData (void *handle, char *buffer, int length) |
int | SetupSerial (void *handle) |
int | WriteData (void *handle, const char *buffer, int length) |
Public Member Functions inherited from sawyer::base_data | |
void | clear () |
Public Attributes | |
base_data | rawData_ |
Public Attributes inherited from sawyer::base_data | |
struct sawyer::base_data::RawData | rawData |
Additional Inherited Members | |
Static Public Attributes inherited from sawyer::base_data | |
static const size_t | MAX_MSG_LENGTH = 256 |
int sawyer::roch_driver::CloseSerial | ( | void * | handle | ) |
Definition at line 165 of file linux_serial.cpp.
|
inline |
|
inline |
roch_driver singleton instance accessor.
int sawyer::roch_driver::OpenSerial | ( | void ** | handle, |
const char * | port_name | ||
) |
Definition at line 61 of file linux_serial.cpp.
int sawyer::roch_driver::ReadData | ( | void * | handle, |
char * | buffer, | ||
int | length | ||
) |
Definition at line 146 of file linux_serial.cpp.
int sawyer::roch_driver::SetupSerial | ( | void * | handle | ) |
Definition at line 86 of file linux_serial.cpp.
int sawyer::roch_driver::WriteData | ( | void * | handle, |
const char * | buffer, | ||
int | length | ||
) |
Definition at line 123 of file linux_serial.cpp.