summaryrefslogtreecommitdiff
path: root/pyserial/examples/miniterm.py
Commit message (Collapse)AuthorAgeFilesLines
* - add tools as subpackage so that python -m serial.tools.XXX can be used.cliechti2011-03-041-584/+0
| | | | - move miniterm from exaples
* output pySerial version inhelp textcliechti2010-01-021-30/+36
|
* workaround when using miniterm on older installations of the librarycliechti2009-09-301-1/+6
|
* ignore error for status lines in info displaycliechti2009-08-051-6/+11
|
* tweak info outputcliechti2009-08-051-5/+5
|
* include modem status lines in info displaycliechti2009-08-051-0/+6
|
* rename function -> serial_for_urlcliechti2009-08-051-1/+1
|
* fix wrong command line argument checkcliechti2009-08-051-1/+1
|
* show error details (helpful for failing RFC2217 connections)cliechti2009-08-031-2/+2
|
* add support for connecting to RFC2217 ports (just use the URL)cliechti2009-08-031-1/+1
|
* minor doc changescliechti2009-07-211-1/+1
|
* - change menu output prefix, reformat help textcliechti2009-07-081-53/+80
| | | | - add linefeed and escape toggles
* - CTRL-T CTRL-E toggles local echocliechti2009-07-081-2/+11
| | | - mark/space parity missing in --help, add check of parity option
* - remove "upload" charactercliechti2009-07-081-59/+201
| | | | | | - introduce "menu" character - add "menu" for RTS, DTR, BREAK, port settings, upload etc. see CTRL+T,CTRL+H - menu and exit character must not be the same - clear alive flag on errors within loop
* doc updatecliechti2009-02-071-1/+1
|
* - fix typoscliechti2009-02-061-61/+120
| | | - improve code layout
* [FIX] win32 input functioncliechti2008-09-171-1/+1
|
* - update versioncliechti2008-06-161-25/+97
| | | | | - update miniterm.py (patch from Colin) - make exit and upload chars configurable
* improve CTRL+C support on posix platformscliechti2008-04-031-1/+1
|
* fix missing newlinecliechti2008-03-241-1/+1
|
* remove unneeded importcliechti2007-11-131-1/+1
|
* - cleanup of repr_modecliechti2006-04-041-14/+60
| | | | - allow port, baudrate as parameter instead of options
* - code cleanupcliechti2006-03-301-26/+28
| | | | | - make cr/lf conversion/echo more consitent - -- quiet option
* can set initial RTS and/or DTR line statecliechti2006-03-281-1/+15
|
* - small command line option changescliechti2006-03-241-16/+20
| | | | | - show opened port name in startup message - --cr translation for input too
* updated miniterm:cliechti2005-09-211-109/+131
| | | | | | | | | - use optparse - class based main, amin function (make it easier to import from other files) - new exit character - python 2.3+ required added setup script to make a single exe file using py2exe
* - add --newline optioncliechti2004-07-211-28/+47
| | | | | - some internal cleanups and comments - use stderr for some messages
* make the win32 version behave correctlycliechti2004-07-211-0/+2
|
* added connection debug modecliechti2004-07-211-4/+11
|
* - drop old python compatibility and use termios instead of TERMIOScliechti2004-07-111-27/+28
| | | | | - flush often -> better behaviour on linux - fixed error in CR->CR++LF translation
* Transition to the 2.0 series:cliechti2003-10-011-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - New implementation only supports Python 2.2+, backwards compatibility should be maintained almost everywhere. The OS handles (like the hComPort or fd attribute) were prefixed with an underscore. The different names stay, as anyone that uses one of these has to write platform specific code anyway. - Common base class serialutil.SerialBase for all implementations. - PARITY_NONE, PARITY_EVEN, PARITY_ODD constants changed and all these constants moved to serialutil.py (still available as serial.PARITY_NONE etc. and they should be used that way) - Added serial.PARITY_NAMES (implemented in serialutil.PARITY_NAMES). This dictionary can be used to convert parity constants to meaningful strings. - Each Serial class and instance has a list of supported values: BAUDRATES, BYTESIZES, PARITIES, STOPBITS (i.e. serial.Serial.BAUDRATES or s = serial.Serial; s.BAUDRATES) these values can be used to fill in value sin GUI dialogs etc. - Creating a Serial() object without port spec returns an unconfigured, closed port. Useful if a GUI dialog should take a port and configure it. - New methods for serial.Serial instances: open(), isOpen() - A port can be opened and closed as many times as desired. - Instances of serial.Serial have baudrate, bytesize, timeout etc. attributes implemented as properties, all can be set while the port is opened. It will then be reconfigured. - Improved __doc__'s. - New test_advanced.py for the property setting/getting testing. - Small bugfix on posix with get* methods (return value should be true a boolean). - added a __repr__ that returns a meaningful string will all the serial setting, easy for debugging. - The serialposix module does not throw an exception on unsupported platforms, the message is still printed. The idea that it may still work even if the platform itself s not known, it simply tries to do the posix stuff anyway (It's likely that opening ports by number fails, but by name it should work).
* added new examplecliechti2002-03-051-3/+5
|
* added command line optionscliechti2002-03-031-16/+73
|
* starting with examples...cliechti2002-02-281-0/+76
this is a simple terminal that read characters from the serial and displays it and it sends out keypresses over the serial.