Re: cant able to read serial Port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 22 Sep 2007 14:21:13 +0530 (IST)
Devesh Here <devu_devesh@xxxxxxxxxxx> wrote:

> hello All,
>   i am very new in Linux , and i made a small program in C that jst sends and tries to receive character from serial port. 
>   it is working fine for sending, but not receiving character from other end .. on other end Windows Xp running.  Read() function retuns error
>   no = 11, i m putting my small code, 

You set non blocking, you read, you get EAGAIN - meaining it would block.

I suspect you also want to turn off ECHO and ICANON


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux