This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
how use termios_lookup? some question
- From: "½Å¿µ±Ô" <char at suprema dot co dot kr>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 19 Mar 2002 15:48:32 +0900
- Subject: [ECOS] how use termios_lookup? some question
hello.
My name is Young-kyu, Shin.
I worder about termios_lookup function.
How use termios_lookup?
Please, show me some examples.
And, My program is transfering between PC to ARM board(customized).
ARM board is missing some data(not all data) which received binary data(raw
data of image) from PC.
following source is termios setting.
-----------------------------------------
newtio.c_cflag = (BAUDRATE | CS8 | CLOCAL | CREAD);
newtio.c_iflag = (IGNPAR);
newtio.c_cc[VINTR] = 0;
newtio.c_cc[VQUIT] = 0;
newtio.c_cc[VERASE] = 0;
newtio.c_cc[VKILL] = 0;
newtio.c_cc[VEOF] = 0;
newtio.c_cc[VEOL] = 0;
newtio.c_cc[VTIME] = 0;
newtio.c_cc[VMIN] = 1;
newtio.c_cc[VSTART] = 0;
newtio.c_cc[VSTOP] = 0;
newtio.c_cc[VSUSP] = 0;
-------------------------------------------
Do I miss some code?
This termios setting is used on Linux. On Linux, this program is good.
help me!!~~
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss