SeaBreeze
Public Member Functions | Protected Member Functions | Protected Attributes
seabreeze::RS232 Class Reference
Collaboration diagram for seabreeze::RS232:
Collaboration graph

Public Member Functions

 RS232 (const char *devicePath, int baudRate)
 
bool open ()
 
bool close ()
 
int write (void *data, unsigned int length_bytes)
 
int read (void *data, unsigned int length_bytes)
 
void setVerbose (bool v)
 
bool isOpened ()
 

Protected Member Functions

void rs232HexDump (void *x, int length, bool out)
 
void hexDump (void *x, int length)
 
void describeTransfer (int length, bool out)
 

Protected Attributes

void * descriptor
 
bool opened
 
bool verbose
 
char * devicePath
 
int baudRate
 

The documentation for this class was generated from the following file: