Donnieclarkasked Dec 5, 2017 at 6:20am
Connect unpaired BLE device from WPF
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;
var result = await GattDeviceService.FromIdAsync(bleDeviceDisplay.Id);
getting this error.
I didn't find the right solution from the Internet.