Re: Continuous discovery of bluetooth devices
Re: Continuous discovery of bluetooth devices
- Subject: Re: Continuous discovery of bluetooth devices
- From: Joseph Kelly <email@hidden>
- Date: Wed, 22 Feb 2006 09:02:27 -0800
I know the device before. what time interval to reconnect would you
propose?
My original implementation tried to connect every minute or so (in my
present implementation the user initiates all connections which is a
marketing request :-)
From what I've found so far, opening a connection to a device is
fairly lightweight -- it doesn't seem to interrupt bluetooth
operation on other devices, so you can find an interval that works
best for your application.
As a side issue, what would be the preferable way of putting a
device into my user defaults? Its bluetooth address?
You can convert a BluetoothDeviceAddress (which is just a six byte
array) into NSData and store that in your prefs.
joe
_______________________________________________
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