Re: Events on Serial port
- From: Derek <derek.philip@xxxxxxx>
- Date: Thu, 3 Jul 2008 11:01:23 -0700 (PDT)
On 3 Jul, 12:54, Ralf Fassel <ralf...@xxxxxx> wrote:
* Derek <derek.phi...@xxxxxxx>
| Can the fileevent readable be triggered by a flow control state
| change.
This would usually be the case if hardware-handshake is used (after
all, this is what the DSR/DTR/... lines were made for). Simply put,
the device signals DSR, the computer says go-ahead-send-data by
signalling DTR (or whatever the appropriate line is) and buffers the
data in the serial port buffer, and then the application gets notified
via fileevent-serial-port-is-readable.
Can't you use hardware-handshake here?
| The device at the other end isn't able to push data over the uart
| just signals on the flow control lines
So after you see 'DSR 1', you send a query, and then the device sends
data back?
R'
I need to clarify that the UartToI2C chip does not do H/W flow
control. I'm using the DSR line directly from the radio chips
interrupt line, via a RS232 level shifter of course.
Derek
.
- References:
- Events on Serial port
- From: Derek
- Re: Events on Serial port
- From: Alexandre Ferrieux
- Re: Events on Serial port
- From: Derek
- Re: Events on Serial port
- From: Alexandre Ferrieux
- Re: Events on Serial port
- From: Derek
- Re: Events on Serial port
- From: Ralf Fassel
- Events on Serial port
- Prev by Date: Re: Events on Serial port
- Next by Date: Re: Events on Serial port
- Previous by thread: Re: Events on Serial port
- Next by thread: Re: Events on Serial port
- Index(es):
Relevant Pages
|