Go to the source code of this file.
Defines | |
| #define | SERIAL_CODE_VERSION "LINUX v1.0d" |
| #define | PORT_NOT_OPENED -1 |
| #define | TRUE 1 |
| #define | FALSE 0 |
| #define | AWAIT_CHARSTREAM -1 |
| #define | TIMEOUT_CHAR_READ -1 |
Typedefs | |
| typedef int | portstream_fd |
Functions | |
| portstream_fd | openserial (char *portname) |
| char | closeserial (portstream_fd) |
| char | SerialBytesOut (portstream_fd, unsigned char *, int) |
| char | SerialBytesIn (portstream_fd, unsigned char *, unsigned int, long) |
| char | PeekByte (portstream_fd, unsigned char *) |
| char | FlushInputBuffer (portstream_fd) |
| void | do_delay (long) |
| char | SerialStringOut (portstream_fd, unsigned char *) |
| char | ReadSerialLine (portstream_fd, unsigned char *, long, int *) |
| char | GetSignedShort (portstream_fd, signed short *, long) |
| char | PutSignedShort (portstream_fd, signed short *) |
| char | GetUnsignedShort (portstream_fd, unsigned short *, long) |
| char | PutUnsignedShort (portstream_fd, unsigned short *) |
| char | GetSignedLong (portstream_fd, signed long *, long) |
| char | PutSignedLong (portstream_fd, signed long *) |
| #define AWAIT_CHARSTREAM -1 |
Definition at line 40 of file linuxser.h.
| #define FALSE 0 |
Definition at line 32 of file linuxser.h.
| #define PORT_NOT_OPENED -1 |
Definition at line 27 of file linuxser.h.
| #define SERIAL_CODE_VERSION "LINUX v1.0d" |
Definition at line 3 of file linuxser.h.
| #define TIMEOUT_CHAR_READ -1 |
Definition at line 41 of file linuxser.h.
| #define TRUE 1 |
Definition at line 31 of file linuxser.h.
| typedef int portstream_fd |
Definition at line 26 of file linuxser.h.
| char closeserial | ( | portstream_fd | ) |
| void do_delay | ( | long | ) |
Definition at line 256 of file linuxser.cpp.
| char FlushInputBuffer | ( | portstream_fd | ) |
| char GetSignedLong | ( | portstream_fd | , | |
| signed long * | , | |||
| long | ||||
| ) |
| char GetSignedShort | ( | portstream_fd | , | |
| signed short * | , | |||
| long | ||||
| ) |
| char GetUnsignedShort | ( | portstream_fd | , | |
| unsigned short * | , | |||
| long | ||||
| ) |
| portstream_fd openserial | ( | char * | portname | ) |
| char PeekByte | ( | portstream_fd | , | |
| unsigned char * | ||||
| ) |
| char PutSignedLong | ( | portstream_fd | , | |
| signed long * | ||||
| ) |
| char PutSignedShort | ( | portstream_fd | , | |
| signed short * | ||||
| ) |
| char PutUnsignedShort | ( | portstream_fd | , | |
| unsigned short * | ||||
| ) |
| char ReadSerialLine | ( | portstream_fd | , | |
| unsigned char * | , | |||
| long | , | |||
| int * | ||||
| ) |
| char SerialBytesIn | ( | portstream_fd | , | |
| unsigned char * | , | |||
| unsigned | int, | |||
| long | ||||
| ) |
| char SerialBytesOut | ( | portstream_fd | , | |
| unsigned char * | , | |||
| int | ||||
| ) |
| char SerialStringOut | ( | portstream_fd | , | |
| unsigned char * | ||||
| ) |
1.5.1