in reply to Lost characters using Device::Modem
The link between the modem and the computer should implement flow control, where the receiver tells the sender when to stop and start sending. This is normally done either in-band (with XON/XOFF signalling - those ctrl-S and ctrl-Q ASCII characters that you can find locking up your xterms :-) or on seperate lines of the serial connection (RTS/CTS - ready-to-send, clear-to-send), which is a little better since it makes your connection 8-bit clean and doesn't take up any comms bandwidth.
See the &Kn section of the link above.
Disclaimer: I haven't done this sort of thing for a long time, but fixing timing problems with delays isn't a good idea. ( 0.1s between chars? You've just limited yourself to 10chars/second, approx 80baud :-(
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Lost characters using Device::Modem
by roboticus (Chancellor) on Nov 24, 2006 at 22:46 UTC | |
by jbert (Priest) on Nov 26, 2006 at 19:34 UTC |