Re: Continuous discovery of bluetooth devices
Re: Continuous discovery of bluetooth devices
- Subject: Re: Continuous discovery of bluetooth devices
- From: Bubba Giles <email@hidden>
- Date: Tue, 21 Feb 2006 13:42:57 -0800
- Thread-topic: Continuous discovery of bluetooth devices
Title: Re: Continuous discovery of bluetooth devices
Well, a design award and violating “good citizen” rules are two different things... :-)
I don’t know of any plans to change or improve upon this limitation. But then, I certainly don’t pretend to know everything... The fact that you can actually do a discovery without killing active connections is an improvement over early hardware, so I suspect the chip guys are working on it. If something shows up to enable it, we will of course try to accommodate the functionality.
jason
The documentation says not to spam the airwaves this way, but, on the other hand Salling Clicker won two design awards for doing exactly this. It seems like there's a real demand for auto-reconnecting devices; is there an elegant solution on the horizon?
-Wil
On Feb 21, 2006, at 10:17 AM, Bubba Giles wrote:
You can do this two ways, neither is elegant:
- Keep doing IOBluetoothDeviceInquiry every X seconds. Bad idea—makes Bluetooth connections slow, or stop during an inquiry. Also, the Bluetooth framework could throttle these if you do them too often, so even though you might want to do it every X seconds, we could make a decision for you and prevent it.
- Once you know which device you want, you can try to connect to it every X seconds. Not great either, but better than doing inquiries all the time.
-
Bluetooth is not really designed with this usage scenario in mind, and thus, as you can see, there is no good way to do it.
jason
Hi,
is there an elegant way to discover devices (or one particular device) as soon as it "comes online" or comes back after being out of range?
Polling IOBluetoothDeviceInquiry would not "elegant" IMHO.
Ruotger
---
Ruotger Skupin, Mac OS X Software Engineering
ilink Kommunikationssysteme GmbH
Münzstr. 13; 10178 Berlin - Germany
_______________________________________________
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
_______________________________________________
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
_______________________________________________
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