Hi there
I have a rather annoying problem I hope someone can help me solve.
I'm writing a custom implementation using a subset of the 32feet.NET library. My project uses the simple Bluetooth device discovery already present in the library, but I have a problem determining whether the discovered devices actually are in range or just remembered.
My scenario is this: A thread is running continuosly, searching for nearby devices. I'm returning every device, as I need the addresses for a lookup mechanism defined elsewhere. The search is working well, and the devices are returned as expected. However, if a device is previously paired with my computer, they appear as remembered devices, even if they are turned of or out of range, which is a huge problem for my application.
So everything boils down to the following question:
How can I make a devicescan and return ONLY actual present devices?
Since I haven't been able to find any solution yet, I have thought of making a separate thread checking device connectivity after each scan. This, however, seem like a bit of a hack, and I wonder if my problem have got no easy solution?
Anyone, help... :)