locked
Searching and connecting with Bluetooth Low Energy Devices RRS feed

  • Question

  • From this question https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/3b62bdbf-9a55-4c0f-becf-f4e91d4bc027/windows-8-bluetooth-le-and?forum=wdk it seems that you cannot use the Windows SDK to search and pair BLE devices in desktop applications. Since that question is rather old, has anything changed since then? Is there any other way to search and pair with BLE device from a desktop Application or a UWP app(maybe integrate the Windows GUI into the app)?
    • Edited by k_kaz Monday, May 15, 2017 11:38 AM
    Monday, May 15, 2017 11:33 AM

Answers

  • In Windows 10 using UWP applications can connect to and pair Bluetooth Low Energy (LE) devices. There is a BluetoothLEClient sample showing how.

    Starting in Windows 10 Creators Update applications can connect without pairing to Bluetooth LE devices. There are some videos on Channel 9 discussing it. There will be samples in the coming months, however the APIs are available today.

    Our team published a test application Bluetooth LE Explorer which uses our UWP APIs to explore Bluetooth LE devices without needing to write code first.

    Monday, May 15, 2017 11:17 PM

All replies

  • In Windows 10 using UWP applications can connect to and pair Bluetooth Low Energy (LE) devices. There is a BluetoothLEClient sample showing how.

    Starting in Windows 10 Creators Update applications can connect without pairing to Bluetooth LE devices. There are some videos on Channel 9 discussing it. There will be samples in the coming months, however the APIs are available today.

    Our team published a test application Bluetooth LE Explorer which uses our UWP APIs to explore Bluetooth LE devices without needing to write code first.

    Monday, May 15, 2017 11:17 PM
  • Thanks for the reply! Do you know if the code in the  BluetoothLEClient example, can be rewritten for Windows 8.1 apps? 
    • Edited by k_kaz Wednesday, May 17, 2017 8:47 AM
    Wednesday, May 17, 2017 8:32 AM
  • PairAsync is the newest method in the sample and it's requirements are on it's MSDN page.

    However the easiest way for any sample is look at the project as it includes the minimum version you can view it on line 15 for our project file.

    Wednesday, May 17, 2017 3:33 PM
  • Frank couldn't you post the samples you used in the most recent Build videos?  I need some guidance on RPI3 receiving msgs from an unpaired BLE device.

    The GATT scenarios link on the "Bluetooth LE Explorer" page does not work.  


    Thank you, Terrence


    • Edited by Terrence_ Thursday, May 18, 2017 2:10 PM
    Thursday, May 18, 2017 2:03 PM
  • No Source Code Available in Github
    Tuesday, March 3, 2020 7:37 AM