[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Serial port programming question



This should go to linix-india-help.

-----Original Message-----
From: Nitin Kakkar <Nitin.Kakkar@xxxxxxxx>
To: 'linux-india-general@xxxxxxxxxxxxxxxxxxxxx'
<linux-india-general@xxxxxxxxxxxxxxxxxxxxx>
Date: Tuesday, December 19, 2000 1:33 AM
Subject: [LIG] Serial port programming question


>Hi
>   I need to write a software which communicates with a hardware on Serial
>port. It needs to use RTS line at serial port as on/off switch.  Thats is
>before sending characters the software should turn on RTS line and after
>sending characters it should turn off RTS line.  The software will run in
>user address spece.

There are hundreds of ways with which you can do it.
what are you using to write your software?
you can do it in shell, perl, c, python.
You specify your choice and then I will let you know how to do it.
>
>Can any one please tell me how can I  set/reset rts line.
>I am using kernel 2.0.36, shipped with older RH 5.0.
>
>Regards
>Nitin
>
>----------------------------------------------
>The mailing list archives are available at
>http://lists.linux-india.org/cgi-bin/wilma/LIG