Defines | |||
![]() | ![]() | #define | VRPN_SERIAL_H |
Enumerations | |||
![]() | ![]() | enum | vrpn_SER_PARITY { vrpn_SER_PARITY_NONE, vrpn_SER_PARITY_ODD, vrpn_SER_PARITY_EVEN, vrpn_SER_PARITY_MARK, vrpn_SER_PARITY_SPACE } |
Functions | |||
![]() | ![]() | int | vrpn_open_commport (char *portname, long baud, int charsize = 8, vrpn_SER_PARITY parity = vrpn_SER_PARITY_NONE) |
![]() | ![]() | 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 count) |
![]() | ![]() | int | vrpn_read_available_characters (int comm, unsigned char *buffer, int count, 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 VRPN_SERIAL_H () |
| enum vrpn_SER_PARITY |
| int vrpn_open_commport (char * portname, long baud, int charsize = 8, vrpn_SER_PARITY parity = vrpn_SER_PARITY_NONE) |
| 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.
1.0.0 written by Dimitri van Heesch,
© 1997-1999