I would like to be able to probe for a specific bluetooth device.  The
only way I've found to do this is to call startDiscovery() and then
parse the returning FOUND event to compare the device returned to the
one on my paired list.  This is OK, but it's still an expensive
process to eliminate all the devices I'm not interested in.
I cannot rely on the connect() function to work of this device, but
I'm testing an algorithm where I simply can use the fact that the
device is nearby.

The biggest problem with this approach is how do I know when the
device is no longer nearby.  Do I constantly have to go through
discovery even after the device is nearby to find out it has left the
scene?  Is there some type of Intent that gets fired in this
instance.  Remember, I am not connected.

Ideally, a probe type function for a specific BT address would make
finding and losing the BT device a lot easier to implement.  Any
ideas?

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to