Inheritance diagram for SerialReceiver:
Public Member Functions | |
def | __init__ |
Initialize the class with defaults from a configuration file. | |
def | __additionalOptions |
def | quit |
Call this method from another thread to force the receive loop to exit. | |
def | receive |
Receive a block of data from the serial port and write it to a file. | |
Static Public Attributes | |
int | CONVERT_CRLF = 2 |
int | CONVERT_CR = 1 |
int | CONVERT_LF = 0 |
Definition at line 158 of file gSerial.py.
|
Serial line options the [serial] block of the configuration file can be: convert_nl=CR/LF/CRLF: Convert newline character(s) to one of CR, LF, CRLF (default: OS dependent) Definition at line 176 of file gSerial.py. |
|
Initialize the class with defaults from a configuration file.
Definition at line 164 of file gSerial.py. |
|
Call this method from another thread to force the receive loop to exit.
Definition at line 197 of file gSerial.py. |
|
Receive a block of data from the serial port and write it to a file. Receive a block of data from the serial port and write it to a file. In order of decreasing precedence, the filename is given by:
To avoid conflicts while the file is being written, the data is initially written to a temporary file. When the temporary file is complete (as provided by a signal in the serial byte stream), it is renamed with the filename as described above.
Definition at line 203 of file gSerial.py. |
|
Definition at line 161 of file gSerial.py. |
|
Definition at line 160 of file gSerial.py. |
|
Definition at line 162 of file gSerial.py. |