This uses the Microsoft Bluetooth APIs to get a list of remembered and in-range visible Bluetooth devices.
Requires Windows XP SP 2 or later, and a Bluetooth adapter/radio supporting the Microsoft Bluetooth stack.
A search can take a while, so you can specify the timeout. Shorter timeouts might miss some devices.
Demo using the BTEnum class is attached. Sample run:
![Name: sshot.png
Views: 86
Size: 6.2 KB]()
Only tested on Windows 10 1709.
There were some tricky aspects to getting this working. There might still be flaws and it might not work right on older OSs due to changes in structs over time.
Requires Windows XP SP 2 or later, and a Bluetooth adapter/radio supporting the Microsoft Bluetooth stack.
A search can take a while, so you can specify the timeout. Shorter timeouts might miss some devices.
Demo using the BTEnum class is attached. Sample run:
Only tested on Windows 10 1709.
There were some tricky aspects to getting this working. There might still be flaws and it might not work right on older OSs due to changes in structs over time.