Windows 8, Bluetooth LE and BluetoothFindFirstDevice/BluetoothFindNextDevice/BluetoothFindDeviceClose
Friday, August 03, 2012 3:11 PM
In Windows 8 CP, it seems to be not possible to find any Bluetooth Low Energy device with BluetoothFindFirstDevice/BluetoothFindNextDevice/BluetoothFindDeviceClose functions (desktop app, not Metro).
Is that by design?
Friday, August 03, 2012 9:20 PM
This is by design, Bluetooth LE devices are not represented in the legacy Bluetooth apis.
Instead, you can use the Windows.Devices.Enumeration api (in a Metro environment) or SetupDI apis (in a desktop app) to enumerate devices of the GUID_BLUETOOTHLE_DEVICE_INTERFACE device interface class to enumerate the paired devices.
- Proposed As Answer by Alain Michaud [MSFT] Friday, August 03, 2012 9:20 PM
- Marked As Answer by Doron Holan [MSFT]Microsoft Community Contributor, Owner Friday, August 03, 2012 10:55 PM
Friday, August 03, 2012 9:51 PMWell, and what about (unpaired) devices discovery? MS isn't going to publish bthsrv (ALPC?) API, right? :-)
Tuesday, March 26, 2013 2:55 AM
I'm trying to develop a Bluetooth application that can discover and pair Bluetooth LE Devices.
I was wondering if GUID_BLUETOOTHLE_DEVICE_INTERFACE is capable of doing this. Are there specific IOCTL for discovering devices?
I also tried to google GUID_BLUETOOTHLE_DEVICE_INTERFACE but I was not able to find any resources pointing to this GUID.
Can you please explain more?
Tuesday, April 02, 2013 2:32 PM
Discovery and pairing is done through the inbox experience and Windows does not offer any Apis to accomplish this. We recommend using the inbox experience for discovery and pairing.
Alain Michaud [MSFT]
- Proposed As Answer by Alain Michaud [MSFT] Tuesday, April 02, 2013 2:33 PM
- Marked As Answer by Doron Holan [MSFT]Microsoft Community Contributor, Owner Tuesday, April 02, 2013 4:38 PM
Wednesday, April 03, 2013 3:41 AM
I've tried the inbox experience but it was not able to pair with my BLE device.
Since there are no APIs for discovering and pairing BLE devices, are there other ways for me to pair with my BLE devices?