I need two computers to communicate through their RS232C ports :

Computer #1 is an ancient Z80 based, running CP/M and BASIC, 
two_non-standard_ FDDs (one not-working), no HDD and one RS232C port.

Computer #2 is a standard PI running Debian.

I have written a small C program to transmit a character from #2 to be
received in #1. It is being received at #1, but garbled. I feel the
parameters like Baud rate, no. of stop bits, parity etc. need to be set
correctly. For Baud rate I am using 'setserial', but how to set the
others ?

And, what would be the best way of achieving this communication ?

Thanks in advance.
-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
K. Ghosh,                                         G. K. Power Systems,
[EMAIL PROTECTED]                         Hyderabad.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BSNL: (040) 2715 4929                  RIM: (040) 310 58 749
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to