summaryrefslogtreecommitdiff
path: root/examples
Commit message (Collapse)AuthorAgeFilesLines
* bugfix when dialog is used to change settingscliechti2014-08-031-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@502 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* update wxSerialConfigDialog.py to use serial.tools.list_portscliechti2014-08-011-19/+18
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@501 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* include url handlerscliechti2013-11-201-6/+9
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@494 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* include url handlerscliechti2013-11-201-5/+8
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@493 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - miniterm now asks for the port if none is given (instead of opening '0')cliechti2012-04-122-2/+2
| | | | | | - update py2exe scripts (ensure own module is taken not the one in site-packages) git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@452 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - add a "search path" for (URL) protocol handlers so that user can add its owncliechti2011-03-181-1/+1
| | | | | | | | | - add unit test for custom handler - doc update - increment version to 2.6-pre1 git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@388 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* update examples, docscliechti2011-03-042-7/+8
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@385 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - add tools as subpackage so that python -m serial.tools.XXX can be used.cliechti2011-03-041-584/+0
| | | | | | | - move miniterm from exaples git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@382 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* output pySerial version inhelp textcliechti2010-01-021-30/+36
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@352 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* workaround when using miniterm on older installations of the librarycliechti2009-09-301-1/+6
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@347 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - improve cleanup on exit in case of errorscliechti2009-09-101-15/+17
| | | | | | - keep running in case of errors git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@346 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* fix change in loggingcliechti2009-08-171-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@344 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - rename internal attribute for loggingcliechti2009-08-121-1/+1
| | | | | | | - add missing log message git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@341 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - update docscliechti2009-08-121-0/+1
| | | | | | | | - also use logging module for loop and socket - extend logging for loop git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@340 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* use logging module instead of writes to stderrcliechti2009-08-111-12/+42
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@338 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - more examples cleanupcliechti2009-08-102-2/+2
| | | | | | | - extend docs on examples git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@335 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* move test scripts to separate test directorycliechti2009-08-105-613/+0
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@334 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* fix format stringcliechti2009-08-101-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@332 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* remove gethostbyaddr calls again as they really slow down connectingcliechti2009-08-102-13/+3
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@331 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - sotre/restore port settings on connect/disconnectcliechti2009-08-102-10/+43
| | | | | | | | - better cleanup on exit - print host name that connects git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@327 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* simplify example again as a separate RFC 2217 server exists nowcliechti2009-08-101-30/+2
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@326 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* set TCP_NODELAY option to get more responsive connection (though it may ↵cliechti2009-08-071-0/+1
| | | | | | waste bandwith depending on application) git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@324 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* fixes for Python <= 2.5cliechti2009-08-071-1/+0
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@323 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - ensure working copy is tested, not library from systemcliechti2009-08-072-4/+12
| | | | | | | - suppress error when port by number does not work (so that loop:// succeeds the tests) git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@322 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - real "No timeout" implementationcliechti2009-08-071-4/+4
| | | | | | - remove some messages so that default message from unit test is shown git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@321 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* add a simplified single port RFC 2217 servercliechti2009-08-072-0/+183
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@320 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - script to run all the testscliechti2009-08-072-1/+43
| | | | | | - don't print warning if test module is not main module git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@319 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* improve outputcliechti2009-08-071-11/+29
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@318 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* increase data length as some of the data can be buffered by the systemcliechti2009-08-071-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@315 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* speed up test by sending larger chunkscliechti2009-08-061-10/+17
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@313 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* special device names require \\.\ prefixcliechti2009-08-061-6/+8
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@309 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* fix the fixcliechti2009-08-061-3/+12
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@308 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - fix error introduced by last patchcliechti2009-08-061-5/+8
| | | | | | - fix problem with devices that have no "friendly name" git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@307 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* ignore error for status lines in info displaycliechti2009-08-051-6/+11
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@306 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* tweak info outputcliechti2009-08-051-5/+5
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@300 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* include modem status lines in info displaycliechti2009-08-051-0/+6
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@299 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* documentation updatescliechti2009-08-051-1/+1
| | | | | | | | - examples - RFC 2217 PortManager git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@298 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - move to_bytes from rfc2217 module to corecliechti2009-08-052-4/+29
| | | | | | | | | | - add data escape function in rfc2217.PortManager (also renamed class) - use escaping for outgoing data in example - multi port TCP/IP serial gateway extended with RFC 2217 support git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@297 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - rename RFC2217 server helper classcliechti2009-08-051-6/+5
| | | | | | | - better names in example code git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@296 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* rename function -> serial_for_urlcliechti2009-08-055-10/+10
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@295 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* fix wrong command line argument checkcliechti2009-08-051-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@294 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* add --rfc2217 option to run a server with these extensionscliechti2009-08-041-8/+55
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@291 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* leading zeroscliechti2009-08-031-4/+5
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@287 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* show error details (helpful for failing RFC2217 connections)cliechti2009-08-031-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@286 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* increase delay for RTS/DTR tests to handle slower RFC2217 serverscliechti2009-08-031-4/+4
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@284 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* add support for connecting to RFC2217 ports (just use the URL)cliechti2009-08-031-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@279 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* - fix an issue w/ test setupcliechti2009-08-022-2/+4
| | | | | | | - disable one test that can't be tested that way (because of new test init code) git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@275 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* udpate tests so that they also work with RFC2217 backendcliechti2009-08-024-22/+33
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@270 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* interestingly, Windows managed to be 1.2ms early in the timeout. but that's ↵cliechti2009-07-301-1/+2
| | | | | | OK. slightly increasing "good" time window of test. git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@259 f19166aa-fa4f-0410-85c2-fa1106f25c8a
* add a notice when run with old Pythoncliechti2009-07-291-0/+10
| | | | git-svn-id: http://svn.code.sf.net/p/pyserial/code/trunk/pyserial@258 f19166aa-fa4f-0410-85c2-fa1106f25c8a