Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

vrpn_Serial.C File Reference


Defines

#define time_add (t1,t2, tr)
#define time_greater (t1,t2)

Functions

int vrpn_open_commport (char *portname, long baud, int charsize, vrpn_SER_PARITY parity)
int vrpn_close_commport (int comm)
int vrpn_flush_input_buffer (int comm)
int vrpn_flush_output_buffer (int comm)
int vrpn_drain_output_buffer (int comm)
int vrpn_read_available_characters (int comm, unsigned char *buffer, int bytes)
int vrpn_read_available_characters (int comm, unsigned char *buffer, int bytes, struct timeval *timeout)
Read until either you get the answer, you get an error, or timeout.

int vrpn_write_characters (int comm, const unsigned char *buffer, int bytes)
Write the buffer to the serial port.


Define Documentation

#define time_add (t1, t2, tr)

#define time_greater (t1, t2)


Function Documentation

int vrpn_open_commport (char * portname, long baud, int charsize, vrpn_SER_PARITY parity)

int vrpn_close_commport (int comm)

int vrpn_flush_input_buffer (int comm)

int vrpn_flush_output_buffer (int comm)

int vrpn_drain_output_buffer (int comm)

int vrpn_read_available_characters (int comm, unsigned char * buffer, int bytes)

int vrpn_read_available_characters (int comm, unsigned char * buffer, int bytes, struct timeval * timeout)

Read until either you get the answer, you get an error, or timeout.

int vrpn_write_characters (int comm, const unsigned char * buffer, int bytes)

Write the buffer to the serial port.


Generated at Fri Sep 13 15:03:45 2002 for vrpn by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999