[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Send data on serial port!
I've done that but I still need to send '\n' to have the character sent from the send buffer. Any other idea?
From: Johan Adolfsson [mailto:firstname.lastname@example.org]
Sent: 09 January 2003 14:05
To: G?an Hillebrink; dev-etrax
Subject: Re: Send data on serial port!
Make sure you set the terminal settings to "raw" on both the
sender and the receiver, e.g. by using the cfmakeraw() function.
See 'man cfmakeraw'
----- Original Message -----
From: "Goran Hillebrink" <Goran.Hillebrink@xxxxxxx.se>
To: "dev-etrax" <email@example.com>
Sent: Thursday, January 09, 2003 12:34
Subject: Send data on serial port!
> I need to send data character by character over a serial port(/dev/ttyS0) on a LX board. To achieve as high speed
as possible I want to send as little overhead as possible. When I send data now I always need to add a line feed to
have the data sent immediately. Is it possible to send just a byte without a line feed?