Inheritance diagram for LinuxSerialPort:

Definition at line 57 of file serial_port.cpp.
Public Member Functions | |
| LinuxSerialPort () | |
| int | Open (unsigned port) |
| int | Initialise (unsigned baud) |
| int | Out (const uint8_t *data, size_t size, unsigned timeout) |
| int | In (uint8_t *data, size_t maxSize, unsigned timeout) |
| void | Close () |
Private Member Functions | |
| ~LinuxSerialPort () | |
| int | Error (int defaultError=ErrorUnspecified) |
Private Attributes | |
| int | SerialHandle |
|
|
Open port for communications over a specified port number.
Implements SerialPort. Definition at line 94 of file serial_port.cpp. |
|
|
Initialise port.
Implements SerialPort. Definition at line 139 of file serial_port.cpp. |
|
||||||||||||||||
|
Transmit data. This function does not wait if only some of data could be transmitted, instead it returns immediately.
Implements SerialPort. Definition at line 172 of file serial_port.cpp. |
|
||||||||||||||||
|
Receive data.
Implements SerialPort. Definition at line 216 of file serial_port.cpp. |
|
|
Close port. Port must not be used again until Open() has been called. Implements SerialPort. Definition at line 260 of file serial_port.cpp. |
|
|
Process an error.
Definition at line 84 of file serial_port.cpp. |
|
|
File handle for serial port. Definition at line 70 of file serial_port.cpp. |
1.4.4