[ECOS] Re: Half Duplex RS485
Thu Jan 24 09:02:00 GMT 2008
"Laurie Gellatly" <email@example.com> writes:
> When you include the ppp package it forces you to have flow control
> on ALL serial lines and I don't want that on the 485 line.
No, it just enables flow control by default on all serial ports. You can
change it for individual ports in your application, using
Or change the default to "NONE" for all ports via
CYGDAT_IO_SERIAL_FLOW_CONTROL_DEFAULT (pppd will enable it on its own
serial device, unless you tell it not to)
> Looks like I'll have to try to carve out ppp_chat and make it into its
> own package without the flow control requirement unless you have a
> better alternative?
Actually the requirement is on the flow control support code. There is
no requirement on flow control being enabled for the serial device used
by pppd (and it works pretty well when disabled too).
Daniel NÃ©ri <firstname.lastname@example.org>
Sigicom AB, Stockholm, Sweden
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss