Donnieclark

asked Dec 5, 2017 at 6:20am
-1
Desktop Systems Other Laser Printer

Connect unpaired BLE device from WPF

Hi,

I want to get heart rate data from a Bluetooth low energy heart rate sensor in WPF project. I added UWP dlls to achieve the goal as I didn't find way in WPF itself but not able to do so.

code I am using:

var bleDeviceDisplay = DeviceList.SelectedItem as BluetoothLEDeviceDisplay;
try
{
var result = await GattDeviceService.FromIdAsync(bleDeviceDisplay.Id);
}

getting this error.

Any Idea?

Please help.

Thanks!

I didn't find the right solution from the Internet.

References: https://social.msdn.microsoft.com/Forums/windowsde...

Best Corporate Video