summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* update version stringv3.0Chris Liechti2015-12-281-1/+1
|
* doc update for releaseChris Liechti2015-12-281-3/+3
|
* doc updateChris Liechti2015-12-271-1/+12
|
* hwgrep: doc updateChris Liechti2015-12-261-3/+14
|
* miniterm: doc updateChris Liechti2015-12-251-0/+2
|
* miniterm: new option --ask to repeat port question on errorsChris Liechti2015-12-241-36/+47
|
* hwgrep: option to skip busy portsChris Liechti2015-12-231-0/+13
|
* hwgrep: support for opening the n'th port, sortlistChris Liechti2015-12-221-2/+30
| | | | - use sorted list to get more consistent results - hwgrep://...&n=1
* doc updateChris Liechti2015-12-212-8/+18
|
* fix: --quiet not quiet enough when filter function is usedChris Liechti2015-12-211-1/+2
|
* doc updateChris Liechti2015-12-201-12/+18
|
* doc updateChris Liechti2015-12-192-10/+17
|
* doc updateChris Liechti2015-12-181-15/+27
|
* doc updateChris Liechti2015-12-172-2/+13
|
* update file headersChris Liechti2015-12-1625-59/+48
|
* Merge pull request #47 from cdealti/pr-fix-issue-42zsquareplusc2015-12-151-1/+7
|\ | | | | Fix issue #42.
| * Fix issue #42.Cristiano De Alti2015-12-121-1/+7
| |
* | Merge pull request #50 from DavidHowlett/masterzsquareplusc2015-12-141-1/+1
|\ \ | | | | | | fixed issue with 0 timeout on windows 10
| * | fixed issue with 0 timeout on windows 10David Howlett2015-12-141-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the win32 documentation for ReadFile found at: https://msdn.microsoft.com/en-gb/library/windows/desktop/aa365467(v=vs.85).aspx it says: "If hFile was opened with FILE_FLAG_OVERLAPPED, the following conditions are in effect: The lpOverlapped parameter must point to a valid and unique OVERLAPPED structure, otherwise the function can incorrectly report that the read operation is complete. The lpNumberOfBytesRead parameter should be set to NULL. Use the GetOverlappedResult function to get the actual number of bytes read. If the hFile parameter is associated with an I/O completion port, you can also get the number of bytes read by calling the GetQueuedCompletionStatus function." In the previous version of read the variable "rc" was set with ReadFile. This works on windows 7 for all the hardware that I use but on windows 10 something has changed and rc is set to 0 by ReadFile if the serial connection is to a "Beagle Bone Black". This means I am no longer able to communicate with any of my Beagle Bone Blacks. I changed the read method to use GetOverlappedResult and then it worked fine on windows 10 with all the hardware I plugged in.
* | check for write timeout, even if EAGAIN was rised, fix #45Chris Liechti2015-12-131-0/+3
| |
* | win32: change exception type in case SetCommState fails, fix for #49Chris Liechti2015-12-121-1/+1
| |
* | avoid deprecated unittest functionsChris Liechti2015-12-119-74/+74
| |
* | loop: avoid errors in close when port was not openedChris Liechti2015-12-101-5/+8
| |
* | 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
|
* missed renaming to ReaderThread, fix for #44Chris Liechti2015-12-081-1/+1
|
* doc: minor fix (re #33)Chris Liechti2015-11-201-7/+11
|
* used bad name for logging, fix #35Chris Liechti2015-11-181-3/+3
|
* force tcsetattr call on open, fix #26, #30Chris Liechti2015-11-151-4/+4
|
* list_ports: doc update, fixes #33Chris Liechti2015-11-131-2/+58
|
* list_ports: grep function should also yield info objects, not tuplesChris Liechti2015-11-131-2/+3
|
* win32: fix typoChris Liechti2015-11-061-1/+1
|
* win32: fix minimal timeout issueChris Liechti2015-11-032-8/+9
| | | | As pointed out by DavidHowlett in issue #27, timeouts < 0.001 are handled as blocking by pySerial but are rounded to 0 and the Windows API treats it as non-blocking. Therefore ensure a minimum of 1ms (not that it would make any sense to use such short timeouts anyway).
* doc updateChris Liechti2015-11-021-1/+5
|
* win32: fix race conditionChris Liechti2015-11-022-6/+7
| | | | | | | As pointed out by DavidHowlett in #27, there can be a race condition where ReadFile returns false but the operation is completed before GetLastError is called, therefore also allow ERROR_SUCCESS (0) to be OK. Also as suggested, rename flag.
* doc updateChris Liechti2015-11-011-0/+8
|
* rfc2217: improve tests and fix bugsChris Liechti2015-10-312-0/+15
|
* add minimal test for RFC 2217 clientChris Liechti2015-10-303-3/+36
| | | | | - add new file to MANIFEST.in - sort entries MANIFEST.in
* doc updateChris Liechti2015-10-301-0/+3
|
* Merge pull request #25 from DavidHowlett/masterzsquareplusc2015-10-291-0/+3
|\ | | | | added `read_all()` using new API
| * added read_all using new APIDavid Howlett2015-10-281-0/+3
|/
* test_settings_dict: add a new test, refactor, docChris Liechti2015-10-281-26/+32
|
* doc: update header in testsChris Liechti2015-10-279-42/+33
|
* list_ports: alternate fix for #23Chris Liechti2015-10-261-1/+1
|
* rfc2217: shutdown threads in case of errors in open()Chris Liechti2015-10-251-38/+42
|
* 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
|
* updates to setup.py, missing files/subpackages, update classifiersChris Liechti2015-10-232-2/+4
|
* Merge pull request #21 from keisisqrl/patch-1zsquareplusc2015-10-221-1/+1
|\ | | | | proofread Serial class doc
| * proofread Serial class docAmy W2015-10-211-1/+1
|/