summaryrefslogtreecommitdiff
path: root/serial
Commit message (Collapse)AuthorAgeFilesLines
* parity: new PARITY_IGNORE setting (posix/win32)issue-154Chris Liechti2016-08-273-2/+8
| | | | see #154 for discussion
* posix: VTIMESerial fixes for blocking and cancel_readChris Liechti2016-08-081-0/+6
| | | | | | - support blocking (timeout=None) - "remove" cancel_read, so that e.g. miniterm does not use cancel_read but a timeout instead
* list_ports_windows: support devices with only VID. fixes #145Chris Liechti2016-08-062-6/+7
| | | | | - PID field is now optional (regexp) - if vid or pid is None, use a 0 for display
* list_ports_windows: update fix for #144 for Python 3Chris Liechti2016-08-051-6/+2
|
* list_ports_windows: use unicode APIs, fixes #144Chris Liechti2016-08-051-35/+22
|
* loop: Class Serial in protocol_loop.py references variable before assigningChris Liechti2016-08-041-1/+1
| | | | to it, fixes #143
* miniterm: Python 3 fix for cancel, fixes #137Chris Liechti2016-06-191-1/+1
|
* Merge pull request #134 from rob-smallshire/namespace-packagezsquareplusc2016-06-142-428/+5
|\ | | | | Namespace package and extract aio into a separate distribution
| * Removes serial/aio.py. This submodule is relocated to the pyserial-asyncio ↵Robert Smallshire2016-06-141-428/+0
| | | | | | | | package.
| * Make serial into a namespace package.Robert Smallshire2016-06-141-0/+5
| |
* | posix: handle different errno for OSX when setting control lines on open, ↵Chris Liechti2016-06-131-1/+1
|/ | | | fixes #133
* prepare release V3.1.1v3.1.1Chris Liechti2016-06-122-2/+2
|
* fix: avoid Python 3 syntax in aio moduleChris Liechti2016-06-111-11/+14
| | | | fixes #123 and fixes #128
* cli: rename to _reconfigure_port, fixes #127Chris Liechti2016-06-101-2/+2
|
* posix: PATCH: Check delay_before_tx/rx for None in serialposix.py, fixes #126Chris Liechti2016-06-091-2/+4
|
* style: use .format() in various places instead of "%" formattingChris Liechti2016-06-0812-47/+46
|
* style: flake8 findingsChris Liechti2016-06-073-4/+9
|
* posix: deprecate "nonblocking" methodChris Liechti2016-06-042-7/+5
|
* posix: make cancel-pipes non-blocking and read more bytes to "clear" pipeChris Liechti2016-06-031-2/+4
| | | | - may help to clear up when cancel_read/write was called multiple times - does no solve that one future read/write call is canceled
* Merge pull request #122 from lfdebrux/patch-1zsquareplusc2016-06-021-1/+1
|\ | | | | fix bug in FramedPacket
| * fix bug in FramedPacketLaurence de Bruxelles2016-05-311-1/+1
| |
* | win32: improve error messages in read()Chris Liechti2016-06-011-2/+2
| |
* | win32: handle errors of GetOverlappedResult in read(), fixes #121Chris Liechti2016-05-311-1/+4
|/
* Merge pull request #118 from nexcvon/patch-1zsquareplusc2016-05-281-5/+5
|\ | | | | posix: retry if interrupted in Serial.read
| * posix: retry if interrupted in Serial.readnexcvon2016-05-241-5/+5
| | | | | | | | Retry and recalculate timeout if interrupted in Serial.read. see https://www.python.org/dev/peps/pep-0475.
* | prepare V3.1.0v3.1.0Chris Liechti2016-05-271-1/+1
| |
* | style: flake8 findingsChris Liechti2016-05-261-2/+1
| |
* | win32: fix close and improve cancel (no error when write is canceled)Chris Liechti2016-05-252-1/+5
|/
* asyncio: use serial_for_url, improve test endChris Liechti2016-05-231-2/+3
|
* allow baudrate of value 0 (used as hang up signal by some drivers)Chris Liechti2016-05-231-2/+2
|
* posix: close pipes to avoid resource leakChris Liechti2016-05-221-0/+6
|
* spy: add support for cancel_read and cancel_writeChris Liechti2016-05-201-1/+14
|
* threaded: use cancel_read() in stop(), when availableChris Liechti2016-05-191-3/+9
|
* posix: implement cancel_writeChris Liechti2016-05-161-2/+12
|
* posix: implement cancel_readChris Liechti2016-05-151-1/+8
|
* miniterm: doc update for win32 cancelChris Liechti2016-05-141-1/+2
|
* miniterm: use cancel_read instead of timeout for alive flag polling, when ↵Chris Liechti2016-05-131-1/+4
| | | | | | available and gone is the (small) CPU load when idle
* win32: fix error code checking in _cancel_overlapped_ioChris Liechti2016-05-122-1/+2
| | | | it may also report ERROR_IO_INCOMPLETE when io is in progress
* fix type check for port (basestring)Chris Liechti2016-05-111-3/+3
|
* miniterm: make getkey cancelable on posix too, see #107Chris Liechti2016-05-091-0/+11
|
* serialposix: ignore error when setting control lines in openChris Liechti2016-05-071-4/+10
| | | - workaround for #59, when opening pseudo tty that have no control lines
* revert "fixes for RTS/DTR handling on open", bad solutionChris Liechti2016-05-073-17/+10
| | | | - with the patch, control lines have wrong initial state on posix - makes no difference on win32, execpt add code
* miniterm: use cancel_read when available to speed up port closing/exitChris Liechti2016-05-041-0/+9
|
* win32: add methods to cancel read/write operation, use in close, fixes #51Chris Liechti2016-05-032-3/+30
|
* changed super() calls to python 2 stylecsboling2016-04-301-2/+2
|
* raise exceptions in connection_lostcsboling2016-04-291-0/+4
| | | Default connection_lost behavior swallowed all exceptions that occurred while a ReaderThread was running, sometimes making a client Protocol difficult to debug. This patch instead raises an exception if one occurred.
* miniterm: add a cancel() function to console wrapper object and a win32 ↵Chris Liechti2016-04-271-3/+11
| | | | | | implementation - see also #107
* refactor: remove "number_to_device" which is not called anymoreChris Liechti2016-04-251-66/+15
|
* FramedPacket: add new Packetizer variant that is looking for START and STOPChris Liechti2016-04-241-0/+48
|
* serialutil: creating a Serial object with an integer argument causes error, ↵Chris Liechti2016-04-221-5/+9
| | | | | | fixes #84 - raise an explicit TypeError especially as previous versions did support integers, which is no longer allowed