Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: Steven Singer <steven.singer@csr.com>
Cc: Peter Bergmann <bergmann.peter@gmx.net>,
	BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] bluetooth and wireless lan horror
Date: 06 Oct 2003 14:32:30 +0200	[thread overview]
Message-ID: <1065443556.21958.39.camel@pegasus> (raw)
In-Reply-To: <3F7D5B72.1050900@csr.com>

Hi Steven,

> A technique that might be useful for both BT 1.1 and 1.2 devices is
> to use sniff. If you chose a relatively long sniff interval (several
> hundred milliseconds) then when the link is idle the Bluetooth devices
> will communicate only once per interval (as opposed to the default of
> about once every 25 ms). If you also chose a fairly high timeout then
> once data starts flowing it should be able to stream smoothly. The
> only disadvantage of this technique is that when data flow stops you
> may get a delay of up to the sniff interval before it can restart.
> 
> This should be relatively easy to test. Use the HCI command line tools
> to put the link in sniff mode. I suggest parameters of min_interval =
> 0x200, max_interval = 0x400, attempts = 4, timeout = 40.
> 
> In theory it would be possible for BlueZ to detect that the rfcomm
> link has gone quiet (a simple timer from the last packet sent or
> received) and then automatically switch into sniff mode. An advantage
> of this technique is that BlueZ can gradually increase the sniff
> interval the longer the link's been idle. The longer the sniff
> interval, the longer the latency from when either host sends data
> till it can be sent over the air. This would mean that if the link
> was idle only briefly you'd get low latency but if you didn't use
> the link for a while then it'd take a while for data to flow.

this idea is nice and it sounds like a useful feature. But it can't
depend on the RFCOMM traffic. It must depend on the ACL traffic and the
BlueZ core must handle it.

Regards

Marcel




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2003-10-06 12:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-03  5:50 [Bluez-users] bluetooth and wireless lan horror Peter Bergmann
2003-10-03  8:58 ` Marcel Holtmann
2003-10-03  9:42   ` Peter Bergmann
2003-10-03  9:55     ` Marcel Holtmann
2003-10-03 11:20       ` Steven Singer
2003-10-06 12:32         ` Marcel Holtmann [this message]
2003-10-08 11:25           ` Steven Singer
2003-10-08 11:49             ` Marcel Holtmann
2003-10-08 15:12               ` [Bluez-users] Reducing power consumption (Was: bluetooth and wireless lan horror) Steven Singer
2003-10-03 11:14 ` [Bluez-users] bluetooth and wireless lan horror Timothy Murphy

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=1065443556.21958.39.camel@pegasus \
    --to=marcel@holtmann.org \
    --cc=bergmann.peter@gmx.net \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=steven.singer@csr.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