Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] Setting non blocking on /dev/ttyAM1

Programming languages, Coding, Executables, Package Creation, and Scripting.
Post Reply
Message
Author
User avatar
frice
Posts: 49
Joined: 2007-07-26 16:05

[SOLVED] Setting non blocking on /dev/ttyAM1

#1 Post by frice »

I used Termios to fix this

I've been searching the forums here for any previous
discussions about getting non-blocking on a serial
device and I haven't found anything that worked.

What I'm doing is:

serial_port2 =
open("/dev/ttyAM1", O_RDWR | O_NDELAY | O_NOCTTY, 0);

Post Reply