Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] Reopening RFCOMM socket
Date: Mon, 11 Apr 2005 15:02:31 +0200	[thread overview]
Message-ID: <1113224551.9655.43.camel@pegasus> (raw)
In-Reply-To: <C70061B183DE09419568AB2060C52A95324E4F@arion.intra.local>

Hi Victor,

> In the quoted message below you say "If no other session is active the
> underlaying ACL link will be terminated." It looks as if it does not
> happen immediatelly. So there is a chance that if you open a new RFCOMM
> socket very fast it will not bring down ACL link and will actually reuse
> it? Cause I have a problem with Motorola V3, I bring down HF RFCOMM
> socket (the only one active at the time) and then open DUN channel and
> start pppd over it. And unless I see HCI disconnect for a underlaying
> ACL link in hcidump log after closing HF RFCOMM, DUN RFCOMM becomes very
> slow (takes much time to push/pull a packet to/from the phone). May be
> some flow control issues?

the ACL has a disconnect timeout of 2 seconds if we created that link
and 4 seconds if the remote side connected to us. This is needed,
because the only expensive thing with Bluetooth is the creation of the
ACL links and we want to avoid it as often as possible.

Please send in the part of "hcidump -X -V" for the V3. I really think
that this is a phone problem. Maybe their RFCOMM credits handling is
broken and they only reset it after a HCI disconnect.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2005-04-11 13:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-11  8:06 [Bluez-devel] Reopening RFCOMM socket Victor Shcherbatyuk
2005-04-11 13:02 ` Marcel Holtmann [this message]

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=1113224551.9655.43.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bluez-devel@lists.sourceforge.net \
    /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