Hi,

>I am trying to use python & pyserial on Ubuntu 9.10 to communicate with
>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

I have used termios library with C for serial programming. Its good.
http://tldp.org/HOWTO/Serial-Programming-HOWTO/x115.html
Thanks
Suresh

_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc

Reply via email to