Re: Events on Serial port



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
.



Relevant Pages

  • Re: Events on Serial port
    ... | Can the fileevent readable be triggered by a flow control state ... This would usually be the case if hardware-handshake is used (after ... the device signals DSR, ... So after you see 'DSR 1', you send a query, and then the device sends ...
    (comp.lang.tcl)
  • Re: Events on Serial port
    ... | Can the fileevent readable be triggered by a flow control state ... This would usually be the case if hardware-handshake is used (after ... the device signals DSR, ... data in the serial port buffer, and then the application gets notified ...
    (comp.lang.tcl)
  • Re: RS-232 converted to INFRARED
    ... signals and how they dont seem to be used ... XON/XOFF, or software, flow control is). ... That circuit you've shown is overly simple. ... If you put it together into a real circuit, it may work but you might find ...
    (sci.electronics.design)
  • Re: Serial communication problems
    ... >>> not COM2, for example? ... >>> all the required signals, ... >> There's no need of flow control signals in my app. ... the other end can handle correctly UNICODE strings? ...
    (microsoft.public.windowsce.embedded.vc)