summaryrefslogtreecommitdiff
path: root/serial/urlhandler/protocol_spy.py
Commit message (Collapse)AuthorAgeFilesLines
* spy: option to write to log instead of file/stdoutChris Liechti2021-05-231-0/+47
|
* spy: ensure bytes in write()Chris Liechti2020-11-231-0/+2
|
* Use absolute import everywhereKurt McKee2018-02-071-0/+2
| | | | | This prevents Python 2.7 from attempting to import system modules like sys and ctypes from the 'serial' directory.
* style: use .format() in various places instead of "%" formattingChris Liechti2016-06-081-3/+3
|
* spy: add support for cancel_read and cancel_writeChris Liechti2016-05-201-1/+14
|
* style: some of the suggestions from flake8 and pylintChris Liechti2016-02-121-3/+9
|
* style: add flags for pylintChris Liechti2016-02-101-0/+1
|
* style: some of the suggestions from flake8Chris Liechti2016-02-091-5/+8
|
* update file headersChris Liechti2015-12-161-3/+1
|
* pep-8 and small cleanupsChris Liechti2015-08-301-1/+0
|
* api change: rename more methods and attributes (mostly internal)Chris Liechti2015-08-291-2/+2
|
* api change: provide control lines as properties, rename flush* and other ↵Chris Liechti2015-08-271-27/+34
| | | | | | | | | | | | | | | | 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: tweak outputChris Liechti2015-08-231-8/+8
|
* spy: bytes/Unicode handling (Python 3 compatibility)Chris Liechti2015-08-221-1/+1
|
* spy: add "all" parameter (to also show inWaiting and empty read)Chris Liechti2015-08-221-8/+20
|
* spy: rename parameter dev -> fileChris Liechti2015-08-211-1/+1
|
* URLs: changed paramter delimiter from / to ? and & as it is usual for URLs, ↵Chris Liechti2015-08-211-7/+12
| | | | update docs
* spy: add offset (easier to see which data belongs to the same call)Chris Liechti2015-08-201-8/+10
|
* spy: fix hexdump layout and some bugsChris Liechti2015-08-201-10/+13
|
* spy: doc, label for sendBreak fixedChris Liechti2015-08-201-6/+25
|
* spy: default format is now a hexdump, also log control line accessChris Liechti2015-08-191-25/+151
|
* spy: remove debug print, add docsChris Liechti2015-08-181-7/+4
|
* protocol_spy: a new URL hander that wraps a serial port to log trafficChris Liechti2015-08-181-0/+95