Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
serial.tools.miniterm.Miniterm Class Reference
Inheritance diagram for serial.tools.miniterm.Miniterm:
Inheritance graph
Collaboration diagram for serial.tools.miniterm.Miniterm:
Collaboration graph

Public Member Functions

def __init__
 
def start
 
def stop
 
def join
 
def dump_port_settings
 
def reader
 
def writer
 

Data Fields

 serial
 
 echo
 
 repr_mode
 
 convert_outgoing
 
 newline
 
 dtr_state
 
 rts_state
 
 break_state
 
 receiver_thread
 
 alive
 
 transmitter_thread
 

Private Member Functions

def _start_reader
 
def _stop_reader
 

Private Attributes

 _reader_alive
 

Detailed Description

Definition at line 143 of file miniterm.py.

Constructor & Destructor Documentation

def serial.tools.miniterm.Miniterm.__init__ (   self,
  port,
  baudrate,
  parity,
  rtscts,
  xonxoff,
  echo = False,
  convert_outgoing = CONVERT_CRLF,
  repr_mode = 0 
)

Definition at line 144 of file miniterm.py.

Member Function Documentation

def serial.tools.miniterm.Miniterm._start_reader (   self)
private
Start reader thread

Definition at line 159 of file miniterm.py.

def serial.tools.miniterm.Miniterm._stop_reader (   self)
private
Stop reader thread only, wait for clean exit of thread

Definition at line 167 of file miniterm.py.

def serial.tools.miniterm.Miniterm.dump_port_settings (   self)

Definition at line 189 of file miniterm.py.

def serial.tools.miniterm.Miniterm.join (   self,
  transmit_only = False 
)

Definition at line 184 of file miniterm.py.

def serial.tools.miniterm.Miniterm.reader (   self)
loop and copy serial->console

Definition at line 216 of file miniterm.py.

def serial.tools.miniterm.Miniterm.start (   self)

Definition at line 173 of file miniterm.py.

def serial.tools.miniterm.Miniterm.stop (   self)

Definition at line 181 of file miniterm.py.

def serial.tools.miniterm.Miniterm.writer (   self)
\
Loop and copy console->serial until EXITCHARCTER character is
found. When MENUCHARACTER is found, interpret the next key
locally.

Definition at line 256 of file miniterm.py.

Field Documentation

serial.tools.miniterm.Miniterm._reader_alive
private

Definition at line 161 of file miniterm.py.

serial.tools.miniterm.Miniterm.alive

Definition at line 174 of file miniterm.py.

serial.tools.miniterm.Miniterm.break_state

Definition at line 157 of file miniterm.py.

serial.tools.miniterm.Miniterm.convert_outgoing

Definition at line 153 of file miniterm.py.

serial.tools.miniterm.Miniterm.dtr_state

Definition at line 155 of file miniterm.py.

serial.tools.miniterm.Miniterm.echo

Definition at line 151 of file miniterm.py.

serial.tools.miniterm.Miniterm.newline

Definition at line 154 of file miniterm.py.

serial.tools.miniterm.Miniterm.receiver_thread

Definition at line 163 of file miniterm.py.

serial.tools.miniterm.Miniterm.repr_mode

Definition at line 152 of file miniterm.py.

serial.tools.miniterm.Miniterm.rts_state

Definition at line 156 of file miniterm.py.

serial.tools.miniterm.Miniterm.serial

Definition at line 146 of file miniterm.py.

serial.tools.miniterm.Miniterm.transmitter_thread

Definition at line 177 of file miniterm.py.


The documentation for this class was generated from the following file: