[Ilugc] Serial Communication - Mark/Space parity problem

  • From: ganeshpulsars@xxxxxxxxx (M.Ganesh)
  • Date: Tue Feb 9 14:21:23 2010

Hi All,

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.

I am able to do that with python in Windows

Can somebody suggest me a solution or point me to more resources

Thanks in advance

-- 

Regards Ganesh
PULSARS

[resent the message since first mail didn't arrive at the mailing list even 
after ten hours]


Other related posts: