From: aprakash@tataelxsi.co.in
To: Andrew Lunn <andrew@lunn.ch>
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Serial Port , Raw Mode using cyg_io_read
Date: Wed, 06 Jul 2005 10:27:00 -0000 [thread overview]
Message-ID: <14445914377f.14377f144459@vsnl.net> (raw)
Ok. Thanks andrew...
Is there any function or call to know, howmany bytes available to read in my serial buffer ?.
Thanks
Prakash
----- Original Message -----
From: Andrew Lunn <andrew@lunn.ch>
Date: Wednesday, July 6, 2005 3:00 pm
Subject: Re: [ECOS] Serial Port , Raw Mode using cyg_io_read
> On Wed, Jul 06, 2005 at 02:35:27PM +0530, Annamalai Prakash wrote:
> > On Wednesday 06 July 2005 02:32 pm, you wrote:
> > > Hi,
> > >
> > > Did you tried to open the /dev/ser0 , /dev/ser1 ? Something like:
> > >
> > > err = cyg_io_lookup( "/dev/ser1", &fd );
> >
> > yes, i tried to open ... it was opened...... but i want to make
> sure, whether
> > it is RAW Mode or TTY Mode.
>
> The device does not have modes like in unix. There are different
> devices for each mode. /dev/ser0 is the lowest level and gives you
> direct access to the serial driver. /dev/tty0 is the next level up and
> gives you a basic tty level similar to cooked mode. Then there is
> /dev/termios0 which is layed on top of /dev/tty0.
>
> Andrew
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next reply other threads:[~2005-07-06 10:27 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-06 10:27 aprakash [this message]
2005-07-06 10:49 ` Andrew Lunn
-- strict thread matches above, loose matches on Subject: below --
2005-07-06 8:41 Annamalai Prakash
2005-07-06 9:02 ` Edgar Grimberg
2005-07-06 9:18 ` Annamalai Prakash
2005-07-06 9:30 ` Andrew Lunn
2005-07-06 9:33 ` Edgar Grimberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=14445914377f.14377f144459@vsnl.net \
--to=aprakash@tataelxsi.co.in \
--cc=andrew@lunn.ch \
--cc=ecos-discuss@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).