This project has moved. For the latest updates, please go here.

DiscoverDevicesInRange on XP SP3?

Topics: Bluetooth - Microsoft
Feb 12, 2013 at 8:56 PM
I can't seem to find a flag combination for DiscoverDevices on Windows XP SP3 that returns only devices that aren't currently up and awake. It either returns everything from its past or nothing at all. This works perfectly well on Windows 7.

Any suggestions for a flag combo?
Feb 12, 2013 at 9:35 PM
:-( One of the major faults with the MSFT API.

"On desktop Windows with the Microsoft stack discoverableOnly does work on Windows 7 from library version 3.0RC. There is no direct API to get the discoverable devices only , the remembered and discoverable devices are returned merged into one list so we have to use some platform events to filter the list. This does not work on Windows XP and thus discoverableOnly does not work there"
Feb 13, 2013 at 3:13 PM
Ouch, sounds like MSFT has made this extra fun. For what its worth, it works beautifully on 7...

Should I use .DiscoverDevices() when on XP and MSFT, and .DiscoverDevicesInRange() at all other times?