Share

Python Serial Port Extension

Code

Programming Languages: Python

License: Python Software Foundation License

Repositories

browse code, statistics, last commit on 2009-10-27 svn co https://pyserial.svn.sourceforge.net/svnroot/pyserial pyserial

Show:

What's happening?

  • Comment: 9 data bit protocol

    Hi, I have the same problem: 9N1 serial communication (with Eclipse Galileo in Ubuntu 8.04, this shouldn't be a problem), so I try to emulate the 9th bit by using PARITY_MARK and PARITY_SPACE. They work (and are recognized as valid parities) in serialutil.py, but in serialposix.py they don't, I've got the error 'Invalid parity' So, any idea? I don't know if it's a bug, but I think it should be...

    2009-11-30 16:59:48 UTC by ccalvoj

  • Comment: setDTR() not working in OS X, cp210x

    OK, I got a pl2303-based converter and setDTR is working with it, so it looks like a driver issue, not a pyserial one. I would welcome any suggestions of course. I opened a bug with SiLabs but I'm not very optimistic about getting an answer that way.

    2009-11-23 23:57:15 UTC by markrages

  • Comment: 9 data bit protocol

    I need 9 data bit, no parity and 1 stop bit. Any idea? Thanks again.

    2009-11-23 23:49:46 UTC by juanbre

  • setDTR() not working in OS X, cp210x

    I have a SiLabs CP2102 serial to usb converter. I need to toggle the DTR pin. I've installed the driver from SiLabs and the device shows up as "/dev/tty.SLAB_USBtoUART" and "/dev/cu.SLAB_USBtoUART". TX and RX pins work fine with pyserial. I've attached my test script. The call returns successfully but the pin doesn't actually change. I've also tested /dev/cu* device with the same...

    2009-11-23 23:35:03 UTC by markrages

  • Comment: 9 data bit protocol

    the operating systems do not support such a setting. are you sure you need 9 data bits plus parity? if it were 8 data bits plus parity it would be no problem.

    2009-11-23 23:19:25 UTC by cliechti

  • pyserial too slow on linux

    So, I wouldn't normally put this in a bug tracker, but I don't see a support email group. I am using pyserial very successfully in Windows. It works very well for my needs. I am running some experiments with a microcontroller and need to read 4 bytes and send 3 bytes once every 2 milli-seconds. No problem on Windows. It doesn't work well in Linux. I can't yet get the hard data to show...

    2009-11-23 22:22:16 UTC by ryangt06

  • Comment: PARITY_MARK and 9 bit data

    PARITY_MARK is already working. Just I had to uninstall the previous pyserial version. So, any idea to wok with 9 data bit? I have a serial interface card with support for 9-bit protocol (16C950 UART) Comments are more than welcome. Thanks.

    2009-11-23 16:18:17 UTC by juanbre

  • Comment: PARITY_MARK and PARITY_SPACE

    Sorry, it's working now, Just I had to uninstall the previous pyserial version. Thanks anyway.

    2009-11-23 16:10:27 UTC by juanbre

  • PARITY_MARK and PARITY_SPACE

    PARITY_MARK and PARITY_SPACE don't appear in serial.Serial Thanks.

    2009-11-23 12:27:58 UTC by juanbre

  • PARITY_MARK and 9 bit data

    Hi to all! I was triying with serial.Serial.PARITY_MARK in Kubuntu 9.10 and it doesn't work. Any idea to use serial communication with 9 bit data (No parity and 1 stot bit) ?? Thanks very much.

    2009-11-23 12:15:51 UTC by juanbre

Our Numbers