summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | rfc2217/close(): fix race-condition: when stopping the read loop, do not set ↵Jerome Flesch2018-10-031-2/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | self._thread = None inside the thread itself as there may be a race-condition with the method close(). The method close() closes the socket, which stops the read loop. When the read loop stops, it set self._thread to None, but if it set to None while close() is right between between the execution of "if self._thread:" and "self._thread.join()", close() will raise an AttributeError. Signed-off-by: Jerome Flesch <ext-jerome.flesch@flowbird.group>
* | | Merge pull request #389 from lowell80/masterzsquareplusc2019-08-133-3/+3
|\ \ \ | | | | | | | | Replaced RFC 2271 with 2217 in docs & comments
| * | | Fixed transposed RFC 2217 (was 2271)Lowell Alleman2018-10-243-3/+3
| |/ / | | | | | | | | | Updated docs and comments incorrectly referencing 2271 (SNMP). No code change.
* | | Merge pull request #433 from keith-packard/masterzsquareplusc2019-08-131-6/+17
|\ \ \ | | | | | | | | | | | | | | | | tools/list_ports_windows: Scan both 'Ports' and 'Modem' device classes fixes #314
| * | | tools/list_ports_windows: Scan both 'Ports' and 'Modem' device classesKeith Packard2019-05-191-6/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Devices using the Window USB Modem driver use the Modem GUID instead of the Ports GUID. Add the Modem class to the set of GUIDs to scan. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | | Merge pull request #414 from ↵zsquareplusc2019-08-131-2/+102
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ryan-summers/rsummers/windows-usb-composite-device-support [Windows] Serial number support for composite USB devices
| * | | | Removing dependency on winerrorRyan Summers2019-02-131-3/+2
| | | | |
| * | | | Delinting changesRyan Summers2019-02-121-5/+5
| | | | |
| * | | | Updated parent traversal to check for root deviceRyan Summers2019-02-121-8/+21
| | | | |
| * | | | Added recursive search for device USB serial number to support composite devicesRyan Summers2019-02-121-2/+90
| | | | |
* | | | | Merge pull request #441 from NJDFan/masterzsquareplusc2019-06-211-1/+2
|\ \ \ \ \ | |_|/ / / |/| | | | reset_input_buffer() can hang on sockets
| * | | | Fixed flush_input_buffer() for situations where the remote end has closedRob Gaddi2019-06-201-1/+2
| | | | | | | | | | | | | | | | | | | | the socket.
| * | | | Merge pull request #1 from pyserial/masterNJDFan2019-06-2039-274/+711
| |\ \ \ \ | |/ / / / |/| | | | Catch up to the main fork
* | | | | Merge pull request #430 from ARF1/masterzsquareplusc2019-05-141-0/+10
|\ \ \ \ \ | |_|/ / / |/| | | | Add WaitCommEvent function to win32
| * | | | Add WaitCommEvent function to win32ARF12019-05-131-0/+10
|/ / / / | | | | | | | | | | | | This is helpful when a user wants to wait for some kind of communication event. E.g. listening for parity errors, etc.
* | | | threaded: "write" returns byte countChris Liechti2019-02-081-2/+2
| | | | | | | | | | | | | | | | fixes #372
* | | | docs: mention "seconds" in "send_break" and "__init__" docsChris Liechti2019-02-081-3/+3
| | | | | | | | | | | | | | | | fixes #397
* | | | Merge pull request #400 from smeng9/masterzsquareplusc2019-02-081-0/+16
|\ \ \ \ | |_|/ / |/| | | Add bytesize and stopbits argument parser to tcp_serial_redirect
| * | | fix stopbits typoShaoyu2018-12-281-1/+1
| | | |
| * | | add bytesize and stopbits argument to parserShaoyu2018-12-211-0/+16
|/ / /
* | | Merge pull request #342 from mghicho/buffer_size_fixedzsquareplusc2018-07-021-1/+1
|\ \ \ | | | | | | | | Fixed the docstring for the set_buffer_size function.
| * | | Fixed the docstring for the set_buffer_size function. It should be called ↵Mohammad Ghasemiahmadi2018-05-151-1/+1
| | |/ | |/| | | | | | | after the port is opened otherwise it will be overwritten
* | | Merge pull request #358 from jdpatt/documenation-fixzsquareplusc2018-06-221-1/+1
|\ \ \ | | | | | | | | Properly escape backslash.
| * | | Properly escape backslash.David Patterson2018-06-201-1/+1
|/ / /
* | | Merge pull request #356 from jdpatt/masterzsquareplusc2018-06-192-4/+20
|\ \ \ | | | | | | | | Documented read_until function, rename parameter for read_until
| * | | Documented read_until and updated parameter name to reflect functionality ↵David Patterson2018-06-162-4/+20
|/ / / | | | | | | | | | beyond just line terminators.
* | | Merge pull request #354 from vlovich/patch-3zsquareplusc2018-06-151-0/+3
|\ \ \ | |/ / |/| | Make ListPortInfo hashable
| * | Make ListPortInfo hashableVitali Lovich2018-06-131-0/+3
|/ / | | | | Makes it behave as consistently within unordered data structures like sets/hashes.
* | docs: add notes for readline, readlines, writelines, IOBaseChris Liechti2018-05-082-2/+18
| | | | | | | | see #285
* | fix: compare only of the same type in list_ports_common.ListPortInfoChris Liechti2018-05-081-1/+5
| | | | | | | | closes #286
* | Merge pull request #290 from jabdoa2/low_latency_modezsquareplusc2018-05-081-0/+21
|\ \ | | | | | | option for low latency mode on linux
| * | option for low latency mode on linuxJan Kantert2018-05-071-0/+21
| | |
* | | Merge pull request #335 from dhoomakethu/masterzsquareplusc2018-05-071-0/+1
|\ \ \ | | | | | | | | Add support to xr-usb-serial ports
| * \ \ Merge pull request #1 from dhoomakethu/dhoomakethu-xr-usb-serialdhoomakethu2018-04-181-0/+1
| |\ \ \ | | |/ / | |/| | Add support exar usb-serial ports
| | * | Add support exar usb-serial ports dhoomakethu2018-04-181-0/+1
| |/ / | | | | | | Add support exar usb-serial ports seen on DELL Edge gateways (300x series)
* | | Merge pull request #333 from cweeks12/patch-1zsquareplusc2018-05-071-2/+2
|\ \ \ | | | | | | | | Fixed 'uppon' typos
| * | | Fixed 'uppon' typosConnor Weeks2018-04-061-2/+2
| |/ / | | | | | | The word 'uppon' was in the documentation twice, so I changed it to 'upon'
* | | Merge pull request #327 from silbe/326-miniterm.py-exclusive-accesszsquareplusc2018-05-071-0/+10
|\ \ \ | | | | | | | | | | | | | | | | miniterm.py: use exclusive access for native serial ports by default fixes #326
| * \ \ Merge branch 'master' into 326-miniterm.py-exclusive-accesszsquareplusc2018-05-0726-66/+122
| |\ \ \ | |/ / / |/| | |
* | | | Merge pull request #324 from carlosperate/fix_miniterm_menu_exitzsquareplusc2018-05-071-2/+2
|\ \ \ \ | | | | | | | | | | Fix miniterm constructor defaults for exit_character and menu_character variables
| * | | | Fix miniterm constructor exit_character and menu_characterCarlos2018-03-161-2/+2
| | |/ / | |/| | | | | | | | | | The MiniTerm.writer() method expects the exit_character and menu_character in character format instead of integer. The main() function works because both member variables are overwritten with the correct format, but for any other scripts using the default values from the constructor won't be able to exit or view the menu.
* | | | Merge pull request #320 from pletnes/patch-1zsquareplusc2018-05-071-1/+1
|\ \ \ \ | | | | | | | | | | Update conda version in pyserial.rst
| * | | | Update pyserial.rstPaul Anton Letnes2018-03-081-1/+1
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Checked the version against conda today, looks like it's pyserial 3.4. ``` In [1]: import serial In [2]: serial.__version__ Out[2]: '3.4' ```
* | | | Merge pull request #315 from kurtmckee/use-absolute-importszsquareplusc2018-05-0724-0/+49
|\ \ \ \ | | | | | | | | | | Use absolute import everywhere
| * | | | Use absolute import everywhereKurt McKee2018-02-0724-0/+49
| |/ / / | | | | | | | | | | | | | | | | This prevents Python 2.7 from attempting to import system modules like sys and ctypes from the 'serial' directory.
* | | | Merge pull request #305 from Mispel/masterzsquareplusc2018-05-071-1/+6
|\ \ \ \ | | | | | | | | | | return b'' when connection closes on rfc2217 connection
| * | | | return b'' when connection closes on rfc2217 connectionMANU2018-01-161-1/+6
| |/ / /
* | | | win32: do not check for links in serial.tools.list_portsChris Liechti2018-05-072-4/+6
| | | | | | | | | | | | | | | | fixes #303
* | | | style: quotesChris Liechti2018-05-071-53/+53
| | | |
* | | | fix: remove default parameter now that os.path.basename is calledChris Liechti2018-05-071-1/+1
| | | |