On 09/02/2010 16:09, Suresh Kumar Subramanian wrote:
Hi,
I am trying to use python& pyserial on Ubuntu 9.10 to communicate withI have used termios library with C for serial programming. Its good.
a serial device. I need to be able to set the parity bit Mark/Space for
this particular device. I understand linux/posix compliant OSs don't
natively support this. I googled and found this [
http://www.lothosoft.ch/thomas/libmip/markspaceparity.php ] link and
implemented that in my code. With this I am able to send only one byte
with my desired parity and the port somehow goes back to 'No parity'
after one byte.
Can somebody suggest me a solution or point me to more resources
http://tldp.org/HOWTO/Serial-Programming-HOWTO/x115.html
Thanks
Suresh