Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Apr 1999 12:11:26 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        Dmitry Strakovsky <dima49@usa.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: RS232 question
Message-ID:  <Pine.BSF.4.03.9904211210180.27954-100000@resnet.uoregon.edu>
In-Reply-To: <19990421075112.22480.qmail@nw179.netaddress.usa.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 21 Apr 1999, Dmitry Strakovsky wrote:

> I'm trying to interface to a custom sensor board.
> I was able to switch baud rate using  O_NONBLOCK flag setting but I can not
> write out or read in if I use it :( 

If you awnt to change the baudrate, use tcgetattr/tcsetattr or
cfsetspeed().  See the relevant man pages, and termios(4).

Doug White                               
Internet:  dwhite@resnet.uoregon.edu    | FreeBSD: The Power to Serve
http://gladstone.uoregon.edu/~dwhite    | www.freebsd.org



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9904211210180.27954-100000>