From: Till Harbaum <harbaum@beecon.de>
To: Marcel Holtmann <marcel@holtmann.org>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] L2CAP dropping packets on BlueZ based receiver
Date: Tue, 3 Aug 2004 14:16:46 +0200 [thread overview]
Message-ID: <200408031416.46803.harbaum@beecon.de> (raw)
In-Reply-To: <1091532252.4259.38.camel@pegasus>
Hi Marcel,
On Tuesday 03 August 2004 13:24, Marcel Holtmann wrote:
> this. We only have to take care of that we don't get more packets than
> our receive buffers can take. So the RFCOMM flow control should be
But this means, that rfcomm has to know about the socket buffers and will have
to make sure, that it won't give more credits than socket buffers are
available.
In fact i always wondered what the purpose of rfcomm giving credits on packets
not on bytes is. But with such an implementation this even makes sense
(although i still think, that these per-packet-credits are an as bad idea as
keeping the header checksum behind the rfcomm payload is ...).
> enought to assure this. In general this is a big design mistake in the
> Bluetooth protocol stack itself and only L2CAP with retransmission and
> flow control can fix it.
Yes, you are right.
Wouldn't it be a good idea to use acl flow control at least as long as there's
only one acl client? This would at least increase the reliability for single
connection scenarios which are probably the most common case.
This has the disadvantage, that the system behaves differently with single
connections and with multiple connections. For multiple acl connections it's
exactly as unrealiable as it is today, but it gives a little advantage to
single acl connections.
Ciao,
Till
--
Dr.-Ing. Till Harbaum Tel.: +49 721 4998963
BeeCon GmbH Fax: +49 721 4998962
Haid-und-Neu Strasse 7, 76131 Karlsruhe Mobil: +49 179 9087904
harbaum@beecon.de http://www.beecon.de
next prev parent reply other threads:[~2004-08-03 12:16 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-02 16:59 [Bluez-devel] L2CAP dropping packets on BlueZ based receiver Till Harbaum
2004-08-02 18:57 ` Marcel Holtmann
2004-08-03 10:23 ` Till Harbaum
2004-08-03 11:24 ` Marcel Holtmann
2004-08-03 12:16 ` Till Harbaum [this message]
2004-08-03 13:09 ` Marcel Holtmann
2004-08-03 13:29 ` Till Harbaum
2004-08-03 13:45 ` Marcel Holtmann
2004-08-04 15:24 ` [Bluez-devel] Disconnection Time Out Talbi
2004-08-04 22:24 ` David Woodhouse
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=200408031416.46803.harbaum@beecon.de \
--to=harbaum@beecon.de \
--cc=bluez-devel@lists.sourceforge.net \
--cc=marcel@holtmann.org \
/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 NNTP newsgroup(s).