> Yeah, although then you create a whole cottage industry of people on the
> mailing list arguing about which value they feel is best for completely
> ignorant reasons.
LOL. You're probably right. Sounds like the voice of experience.
> What we're talking about here is (apparently) some buggy serial hardware or
> drivers that bring their own characteristics.
A buggy dongle that sends characters too fast? Hmm. Maybe the serial dongle
isn't preserving application timing because of buffering? Now we're back to
lowering the latency timer. For example: the application sends a record, waits
for processing, and then sends another record. If the dongle/driver buffers
across two records, and then blasts out the entire block it could nullify the
record processing timeout. Lowering the latency timer might help with this as
it reduces buffering.
My experience was FTDI chipsets were most reliable in many ways. They responded
well to a change in the latency parameter I mentioned earlier. Prolific USB
dongles come in second to FTDI in my experience.
I'm fairly sure some of the USB dongle experience is its OS driver as much as
anything. The Linux Prolific driver has a quirk or two. I've had a lot of
problems with the generic Windows usbserial driver. It seemed to do a lot of
internal buffering that I couldn't tune out the usual way.
> The thing I want us to avoid is forcing all users of the driver to send one
> byte at a time with a lengthy delay just because some people have broken
> serial hardware.
I agree completely. That's one of the things I was trying to stress.