Re: Detecting Bluetooth devices
Re: Detecting Bluetooth devices
- Subject: Re: Detecting Bluetooth devices
- From: Marco Pontil <email@hidden>
- Date: Thu, 20 Oct 2005 09:48:06 -0700
There are issues on doing constant discovery as well as continuos
attempts to connect.
The biggest issue is with discovery (and connect), the action of
discovery of (or connecting to ) a device requires the host to sweep
all the 2.4 GHz band and that causes a great deal of interference on
Airport traffic and on the existing Bluetooth connections. I would
strongly discourage this.
Doing attempts to connect at intervals is somehow more tolerated as
far as the interval is big enough I would suggest a minimum value of
20 seconds (more is better). Keep in mind that putting 20 seconds
between attempts to connect means that if you have 5 paired device
and the connection interval is a reasonable 5 seconds it will take
more than 125 seconds ( (20 + connection timeout interval) * 5) to
scan them all. Really not the best user experience since it means
that it may take up to 2 minutes to realize that a device is in
range, and this with the minimum value.
Given the way BT works, in my opinion it is really much better to
have an action of the user to be the trigger of an attempt to
connect, it is better from an RF band usage point of view, and it is
a better from an user experience point of view.
.... Marco
On Sep 13, 2005, at 1:17 PM, Jesus De Meyer wrote:
Hi,
I was experimenting with the IOBluetooth framework and I wanted to
know if the framework has some sort of autodiscovery built in. I
know there is the IOBluetoothDeviceInquiry class, but when I start
the inquiry, only the start delegate method is called, and no
device is found. Even though my USB Bluetooth adaptor is connected.
So, I would think that I may need an NSTimer that constatly checks
all the paired devices and checks if one of them or all are online.
This doesn't sound like it's the way to do it, so I'm wondering if
there's a better way?
What I want to do is check which bluetooth devices are online and
if they are not, automatically get some sort of notification that
they are connected.
Thanks in advance
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40apple.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden