summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
...
* - doc updatescliechti2009-07-281-1/+1
| | | | | | | - rename test_rawio -> test_iolib git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@256 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - improve compatibility with io library (also accept bytearray for write)cliechti2009-07-281-11/+22
| | | | | | | - update test for Serial+io git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@255 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* update tests so that they run with python 2.3, 2.4, ... to 3.xcliechti2009-07-282-26/+45
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@253 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - add more methods for file-like compatibilitycliechti2009-07-251-0/+57
| | | | | | | | | | | | | | - provide RawSerial when io library is present (not yet finished) -> changes internal class hierarchy -> renamed internal read/write -> _read/_write (FileLike resp. RawSerialBase provides read/write) -> add test_rawio.py - _write returns number of byte written - set minimal python version to 2.3 due to basestring - add "name" attribute - documentation updates (new io stuff and VERSION, device()) git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@249 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* fix test as 1.5 is allowed nowcliechti2009-07-241-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@241 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* one more examplecliechti2009-07-232-0/+495
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@232 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* implement SF 2505422cliechti2009-07-211-4/+9
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@225 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* add scan example for linuxcliechti2009-07-212-4/+27
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@224 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* implement SF 2392892cliechti2009-07-211-4/+9
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@222 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* add missing newlinecliechti2009-07-211-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@218 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* disable test that does not make sense anymore in that waycliechti2009-07-211-44/+48
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@216 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* add delay, in case of USB serial adapters in may be needed to for the ↵cliechti2009-07-211-15/+29
| | | | | | successful test git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@215 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* minor doc changescliechti2009-07-211-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@210 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - change menu output prefix, reformat help textcliechti2009-07-081-53/+80
| | | | | | | - add linefeed and escape toggles git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@208 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - CTRL-T CTRL-E toggles local echocliechti2009-07-081-2/+11
| | | | | | - mark/space parity missing in --help, add check of parity option git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@207 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - 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 git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@206 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* doc updatecliechti2009-02-074-7/+7
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@204 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - fix typoscliechti2009-02-061-70/+199
| | | | | | | | - improve code layout - rework newline conversion (95% complete) - reuse socket address and actually set parity (Elie De Brauwer) git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@199 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - fix typoscliechti2009-02-061-61/+120
| | | | | | - improve code layout git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@198 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* [MOD] add compressioncliechti2008-09-171-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@197 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* [FIX] win32 input functioncliechti2008-09-171-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@196 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* no longer needed to do the backslash tricks on opencliechti2008-06-241-2/+0
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@191 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - make it easy to use an other port: cmd line arg is optional port namecliechti2008-06-243-4/+13
| | | | | | - fix where PORT was assumed to be numeric git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@188 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* simplify, change one timing (stability)cliechti2008-06-221-13/+14
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@185 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - update versioncliechti2008-06-161-25/+97
| | | | | | | | - update miniterm.py (patch from Colin) - make exit and upload chars configurable git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@165 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* Port to wx 2.8 by Pelegcliechti2008-04-102-121/+123
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@164 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* improve CTRL+C support on posix platformscliechti2008-04-031-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@163 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* fix missing newlinecliechti2008-03-241-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@162 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* remove unneeded importcliechti2007-11-131-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@160 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - use optparsecliechti2006-11-151-59/+85
| | | | | | | - update command line interface git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@157 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* *** empty log message ***cliechti2006-11-121-0/+192
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@156 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* [Bug 1451535], [Bug 1554183], [Bug 1513653], [Bug 1520357]cliechti2006-10-201-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@155 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - cleanup of repr_modecliechti2006-04-041-14/+60
| | | | | | | - allow port, baudrate as parameter instead of options git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@151 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - code cleanupcliechti2006-03-301-26/+28
| | | | | | | | - make cr/lf conversion/echo more consitent - -- quiet option git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@150 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* can set initial RTS and/or DTR line statecliechti2006-03-281-1/+15
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@149 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - small command line option changescliechti2006-03-241-16/+20
| | | | | | | | - show opened port name in startup message - --cr translation for input too git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@148 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* bigfix form Nicolacliechti2005-10-021-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@143 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* updated miniterm:cliechti2005-09-212-109/+156
| | | | | | | | | | | | - 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 git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@142 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* release 2.2cliechti2005-08-121-0/+67
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@140 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* closes [Bug 1105687]cliechti2005-01-271-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@135 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* fix "bug" [1004775] -> changes for wxPython 2.5cliechti2004-11-131-24/+22
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@126 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* [Bug 994856]cliechti2004-07-281-0/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@120 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - add --newline optioncliechti2004-07-211-28/+47
| | | | | | | | - some internal cleanups and comments - use stderr for some messages git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@119 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* make the win32 version behave correctlycliechti2004-07-211-0/+2
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@118 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* added connection debug modecliechti2004-07-211-4/+11
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@117 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - 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 git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@116 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* make it threadsafe for wxGTKcliechti2004-07-091-3/+30
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@115 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* added py2exe demo script and a note in the readmecliechti2004-06-291-0/+35
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@114 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* bugfix for wxPython 2.5cliechti2004-05-181-1/+0
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@112 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - implement write timeouts + testscliechti2004-04-202-4/+25
| | | | | | | - added XON/XOFF constants git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@110 f19166aa-fa4f-0410-85c2-fa1106f25c8a