summaryrefslogtreecommitdiff
path: root/serial/serialutil.py
Commit message (Collapse)AuthorAgeFilesLines
* parity: new PARITY_IGNORE setting (posix/win32)issue-154Chris Liechti2016-08-271-2/+2
| | | | see #154 for discussion
* allow baudrate of value 0 (used as hang up signal by some drivers)Chris Liechti2016-05-231-2/+2
|
* fix type check for port (basestring)Chris Liechti2016-05-111-3/+3
|
* revert "fixes for RTS/DTR handling on open", bad solutionChris Liechti2016-05-071-2/+2
| | | | - with the patch, control lines have wrong initial state on posix - makes no difference on win32, execpt add code
* 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
* add missing, deprecated, setPort function, fixes #100Chris Liechti2016-04-061-0/+3
|
* style: replace % with format callsChris Liechti2016-02-151-33/+24
|
* style: some of the suggestions from flake8 and pylintChris Liechti2016-02-121-6/+7
|
* style: add flags for pylintChris Liechti2016-02-101-2/+3
|
* style: some of the suggestions from flake8Chris Liechti2016-02-011-29/+12
|
* fixes for RTS/DTR handling on open (#59)Chris Liechti2016-01-211-2/+2
| | | | | | - internal RTS/DTR state defaults to None - serialwin32 and serialcli platforms override that to True (as before) - serialposix leaves it unset and therefore does not touch RTS/DTR on open (as it was in pySerial 2.7 and before)
* Serial keyword arguments, more on backward compatibility, fix #55Chris Liechti2016-01-021-13/+22
|
* update file headersChris Liechti2015-12-161-2/+3
|
* partially undo last commit as it caused errors, make comment instead (#39)Chris Liechti2015-12-101-7/+3
|
* add open/close abstract methods, fixes #39Chris Liechti2015-12-091-0/+10
|
* doc updateChris Liechti2015-10-301-0/+3
|
* added read_all using new APIDavid Howlett2015-10-281-0/+3
|
* correctly store inter_byte_timeout passed to __init__, fix for #22Chris Liechti2015-10-241-1/+1
|
* missing import, style updatesChris Liechti2015-10-231-6/+7
|
* fix deprecated function, unicode in testv3.0a0Chris Liechti2015-09-221-1/+1
|
* raise a TypeError when trying to write unicode instead of bytesChris Liechti2015-09-091-0/+7
|
* fixes for inter_byte_timeout attribute handlingChris Liechti2015-09-021-3/+3
|
* fix apply_settings (wrong key)Chris Liechti2015-09-011-1/+1
|
* pep-8 and small cleanupsChris Liechti2015-08-301-40/+52
|
* doc: update API docs, rename inter_byte_timeoutChris Liechti2015-08-301-10/+10
| | | | - inter_character_timeout -> inter_byte_timeout - keyword args for Serial: rename writeTimeout, interCharTimeout
* api change: rename more methods and attributes (mostly internal)Chris Liechti2015-08-291-87/+125
|
* api change: provide control lines as properties, rename flush* and other ↵Chris Liechti2015-08-271-0/+75
| | | | | | | | | | | | | | | | functions - flushInput() -> reset_input_buffer() - flushOuput() -> reset_output_buffer() - inWaiting -> in_waiting - getCD()/getRI()/getDSR() -> cd/ri/dsr - setRTS()/setDTR() -> rts/dtr - sendBreak() -> send_break() - setBreak() -> break_condition rts and dtr can now be read back and can be set before opening the port (and some platforms are able to apply the contol without a glitch on open) the old functions are still available and going to be deprecated.
* spy: fix hexdump layout and some bugsChris Liechti2015-08-201-0/+2
|
* fix iterbytes to not yield an empty byte at the endChris Liechti2015-08-171-4/+6
|
* add an iterbytes helper functionChris Liechti2015-08-131-0/+10
|
* update file headers with license information (SPDX)Chris Liechti2015-08-091-1/+2
|
* inherit from io.RawIOBase in SerialBase instead of everywhere elseChris Liechti2015-08-061-1/+2
|
* rs485: redo RS485 support, removed RTS toggle functionChris Liechti2015-08-061-0/+17
|
* improve python 3 compatibilityChris Liechti2015-08-051-1/+5
|
* [Bug pyserial:172] applySettingsDict() throws an error if the settings ↵Chris Liechti2015-08-041-1/+1
| | | | dictionary is not complete
* remove set* functions, use @property decoratorChris Liechti2015-08-041-70/+87
|
* remove FileLike class, add read_until, remove compatibility hacksChris Liechti2015-08-041-173/+33
|
* work on python 3 compatibilityChris Liechti2015-08-031-9/+3
|
* remove pyparallel and move pyserial files to toplevelChris Liechti2015-08-031-0/+572