public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: daniel.neri@sigicom.se (Daniel Néri)
To: ecos-discuss@sources.redhat.com
Subject: [ECOS]  Re: Half Duplex RS485
Date: Thu, 24 Jan 2008 09:02:00 -0000	[thread overview]
Message-ID: <87prvrsikt.fsf@dual.hq.sigicom.net> (raw)
In-Reply-To: <OBEELMDOHGDFDEMJCJCJAELJMIAA.laurie.gellatly@netic.com>

"Laurie Gellatly" <laurie.gellatly@netic.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
cyg_io_set_config.

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).


Regards,
-- 
Daniel Néri <daniel.neri@sigicom.se>
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

  parent reply	other threads:[~2008-01-24  9:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-21 22:04 [ECOS] routing sockets / far end address resolution Daniel Paape
2008-01-22  9:19 ` [ECOS] Half Duplex RS485 Laurie Gellatly
     [not found]   ` <001001c85dd0$c8083160$6501a8c0@global.ds.honeywell.com>
2008-01-23 15:01     ` Wang Cui
2008-01-23 16:34   ` [ECOS] " Grant Edwards
2008-01-23 21:12     ` Laurie Gellatly
2008-01-23 22:03       ` Grant Edwards
2008-01-23 23:06         ` Laurie Gellatly
2008-01-23 23:44           ` Grant Edwards
2008-01-24  9:02           ` Daniel Néri [this message]
2008-01-25  1:33       ` wangcui
2008-01-25  2:00         ` Laurie Gellatly
2008-01-25  4:16 wangcui
2008-01-26 20:41 ` Laurie Gellatly
2008-01-28 10:34   ` wangcui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87prvrsikt.fsf@dual.hq.sigicom.net \
    --to=daniel.neri@sigicom.se \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).