[ECOS] how use termios_lookup? some question

½Ã¿µ±Ô char@suprema.co.kr
Tue Mar 19 00:20:00 GMT 2002


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



More information about the Ecos-discuss mailing list