Go to the source code of this file.
Defines | |
#define | DEBUG 0 |
#define | INT_REVERSED |
Functions | |
portstream_fd | openserial (char *portname) |
char | closeserial (portstream_fd pt_fd) |
char | SerialBytesOut (portstream_fd pt_fd, unsigned char *buffer, int nBytes) |
char | SerialBytesIn (portstream_fd pt_fd, unsigned char *buffer, unsigned int nBytes, long timeoutVal) |
char | PeekByte (portstream_fd portstream, unsigned char *peekedByte) |
char | FlushInputBuffer (portstream_fd pt_fd) |
char | SerialStringOut (portstream_fd pt_fd, unsigned char *buffer) |
char | ReadSerialLine (portstream_fd pt_fd, unsigned char *strbuffer, long timeoutVal, int *charsRead) |
void | do_delay (long millisec) |
char | GetSignedShort (portstream_fd portstream, signed short *SHORTval, long timeout) |
char | PutSignedShort (portstream_fd portstream, signed short *SHORTval) |
char | GetUnsignedShort (portstream_fd portstream, unsigned short *USHORTval, long timeout) |
char | PutUnsignedShort (portstream_fd portstream, unsigned short *USHORTval) |
char | GetSignedLong (portstream_fd portstream, signed long *LONGval, long timeout) |
char | PutSignedLong (portstream_fd portstream, signed long *LONGval) |
Variables | |
static int | err |
static unsigned char | peeked_char |
static unsigned char | peeked_char_avail = FALSE |
#define DEBUG 0 |
Definition at line 36 of file linuxser.cpp.
#define INT_REVERSED |
Definition at line 276 of file linuxser.cpp.
char closeserial | ( | portstream_fd | pt_fd | ) |
void do_delay | ( | long | millisec | ) |
Definition at line 256 of file linuxser.cpp.
Referenced by firmware_version(), firmware_version_OK(), open_host_port(), and reset_PTU_parser().
char FlushInputBuffer | ( | portstream_fd | pt_fd | ) |
Definition at line 181 of file linuxser.cpp.
Referenced by firmware_version_OK(), and reset_PTU_parser().
char GetSignedLong | ( | portstream_fd | portstream, | |
signed long * | LONGval, | |||
long | timeout | |||
) |
char GetSignedShort | ( | portstream_fd | portstream, | |
signed short * | SHORTval, | |||
long | timeout | |||
) |
char GetUnsignedShort | ( | portstream_fd | portstream, | |
unsigned short * | USHORTval, | |||
long | timeout | |||
) |
portstream_fd openserial | ( | char * | portname | ) |
char PeekByte | ( | portstream_fd | portstream, | |
unsigned char * | peekedByte | |||
) |
Definition at line 175 of file linuxser.cpp.
char PutSignedLong | ( | portstream_fd | portstream, | |
signed long * | LONGval | |||
) |
char PutSignedShort | ( | portstream_fd | portstream, | |
signed short * | SHORTval | |||
) |
char PutUnsignedShort | ( | portstream_fd | portstream, | |
unsigned short * | USHORTval | |||
) |
char ReadSerialLine | ( | portstream_fd | pt_fd, | |
unsigned char * | strbuffer, | |||
long | timeoutVal, | |||
int * | charsRead | |||
) |
Definition at line 206 of file linuxser.cpp.
Referenced by firmware_version(), and firmware_version_OK().
char SerialBytesIn | ( | portstream_fd | pt_fd, | |
unsigned char * | buffer, | |||
unsigned int | nBytes, | |||
long | timeoutVal | |||
) |
Definition at line 134 of file linuxser.cpp.
Referenced by GetSerialChar(), GetSignedLong(), GetSignedShort(), and GetUnsignedShort().
char SerialBytesOut | ( | portstream_fd | pt_fd, | |
unsigned char * | buffer, | |||
int | nBytes | |||
) |
Definition at line 121 of file linuxser.cpp.
Referenced by firmware_version_OK(), open_host_port(), PutSignedLong(), PutSignedShort(), PutUnsignedShort(), select_unit(), and SerialOut().
char SerialStringOut | ( | portstream_fd | pt_fd, | |
unsigned char * | buffer | |||
) |
Definition at line 187 of file linuxser.cpp.
int err [static] |
Definition at line 41 of file linuxser.cpp.
Referenced by carmen_serial_readn(), get_current(), get_desired(), WURDECameraFinder::getAllCameras(), WURDE1394Camera::WURDE1394CameraFinder::getCameraByID(), WURDECameraFinder::getCameraByID(), and GetSerialChar().
unsigned char peeked_char [static] |
Definition at line 43 of file linuxser.cpp.
unsigned char peeked_char_avail = FALSE [static] |
Definition at line 43 of file linuxser.cpp.