Re: [PLUG] Serial Communication Code.

2009-06-28 Thread Shakthi Kannan
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

Re: [PLUG] Serial Communication Code.

2009-06-25 Thread Suraj Swami
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

[PLUG] Serial Communication Code.

2009-06-25 Thread Suraj Swami
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. ***

Re: [PLUG] Serial Communication Code

2009-06-21 Thread Shrinand Javadekar
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

Re: [PLUG] Serial Communication Code

2009-06-20 Thread Shakthi Kannan
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

[PLUG] Serial Communication Code

2009-06-20 Thread Suraj Swami
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