This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Non Blocking mode for reads - ECos serial communications
- To: "Trenton D. Adams" <tadams at theone dot dnsalias dot com>
- Subject: RE: [ECOS] Non Blocking mode for reads - ECos serial communications
- From: "Peter Blair" <peterb at turnpikeglobal dot com>
- Date: Mon, 27 Aug 2001 16:12:44 -0400
- Cc: <ecos-discuss at sources dot redhat dot com>
Hi,
Thanks for the tip-- we *were* using version 1.3.1 of the configuration
tool, but have since upgraded to version 2. Once the new version was
installed, we were able to find the before-mentioned setting; thanks!
We're in the middle of testing our program with the newly compiled
library, and will keep you updated if the tip worked.
-Peter Blair.
-----Original Message-----
From: Trenton D. Adams
Sent: Mon 8/27/2001 3:04 PM
To: Peter Blair
Cc:
Subject: RE: [ECOS] Non Blocking mode for reads - ECos serial
communications
Goto "Serial Device Drivers|Support non-blocking read and write
calls"
in the GUI config tool.
I don't know about the second question, but once you've got the
first
one done, you can test for the answer to the second one. I
think! ;)
If you don't have the GUI tool I think you need to edit your
.ecc file
manually to enable this option! Add something like the
following to
your .ecc file if there isn't one.
cdl_option CYGOPT_IO_SERIAL_SUPPORT_NONBLOCKING {
# Flavor: bool
# No user value, uncomment the following line to provide
one.
user_value 1
# value_source default
# Default value: 0
};