This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]