Re: About serial communication
- From: floyd@xxxxxxxxxx (Floyd L. Davidson)
- Date: Thu, 17 Aug 2006 23:22:27 -0800
"Dharmendra" <vasadia.linuxdevicedriver@xxxxxxxxx> wrote:
Hi all,
i am writing program for serail communication, in which whatever i
typed on a console of one computer must appear on console of other
computer which seriall connected using RS232.
i have use following documentation for the program
http://www.easysw.com/~mike/serial/serial.html#2_5
The above is a very good resource.
http://www.faqs.org/docs/Linux-HOWTO/Serial-Programming-HOWTO.html#INTRO
That one has too many errors and is confusing.
http://www.comptechdoc.org/os/linux/programming/c/linux_pgcserial.html
That particular program is *disgusting*.
(I have directly download COM.C program from this sites and
connected two PCs using serial line eventhough it is not working)
i deadly need your help. please help me what i have to do now.
The best thing you can do is is toss that particular program in
the bit heap and start over. The first URL you list above is an
excellent source of information. The second one is interesting
and informative, but the code has too many bugs.
I don't represent these as a solution to your program needs, but
there are several examples on my web page of how to properly
write serial com programs for Unix/Linux.
http://web.newsguy.com/floyd_davidson/code/
--
Floyd L. Davidson <http://www.apaflo.com/floyd_davidson>
Ukpeagvik (Barrow, Alaska) floyd@xxxxxxxxxx
.
- References:
- About serial communication
- From: Dharmendra
- About serial communication
- Prev by Date: Re: About serial communication
- Next by Date: Re: I2C support - 'built-in' VS modules
- Previous by thread: Re: About serial communication
- Next by thread: What is the best tool for traceing the driver??
- Index(es):