Hi,
--- On Thu, Jun 25, 2009 at 2:38 PM, Suraj Swami wrote:
| I want to send single charector on the serial port which my hardware will
| receive and execute.
\--
What hardware? Do you have the datasheet?
---
| tcdrain(fd);
\--
You should always check return values of functions. You can chec
For just an update.
I guess that the terminal gets hanged because of the tcdrain(fd) command .
I tried it by modifying some part of the code.
Please help.
___
Pune GNU/Linux Users Group Mailing List
Hi,
I am having problems in writing a simple serial communication code in linux.
I want to send single charector on the serial port which my hardware will
receive and execute.
Here is the code.
***
On Thu, Jun 18, 2009 at 10:25 PM, Suraj Swami wrote:
> Hi,
>
> I trying to write a basic serial communication code in linux. I am well
> verse to serial communication but have never done so in Linux.
>
> I tried many forums but they had solution to complex issue. And I just want
> a basic code and
Hi,
--- On Fri, Jun 19, 2009 at 10:55 AM, Suraj
Swami wrote:
| And I just want
| a basic code and some basics of serial communication in Linux.
\--
Try these?
Serial Programming HOWTO:
http://www.faqs.org/docs/Linux-HOWTO/Serial-Programming-HOWTO.html
Serial HOWTO:
http://tldp.org/HOWTO/Serial
Hi,
I trying to write a basic serial communication code in linux. I am well
verse to serial communication but have never done so in Linux.
I tried many forums but they had solution to complex issue. And I just want
a basic code and some basics of serial communication in Linux. I guess to I
need