[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?

-----Original Message-----
From: Johan Adolfsson [mailto:johan.adolfsson@xxxxxxx.com]
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'

/Johan


----- Original Message -----
From: "Goran Hillebrink" <Goran.Hillebrink@xxxxxxx.se>
To: "dev-etrax" <dev-etrax@xxxxxxx.com>
Sent: Thursday, January 09, 2003 12:34
Subject: Send data on serial port!


> Hi,
>
> 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?
>
> /Goran
>