-
I'm using the BluetoothLE package in a WPF application and would like to connect to a known BLE device without requiring the user to go through the dialog that is displayed when calling RequestDeviceAsync(). Is there a way to accomplish this? Also, currently when calling RequestDeviceAsync() from my app, the dialog is not sized correctly (see below), making it impossible to interact with. I suspect this is some sort of bug caused by the fact that my app is minimized to the system tray or something because it works fine in a default wpf app template. If I can't bypass the dialog, I'm going to have to figure this one out I guess, so any ideas here would be appreciated as well. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Instead of RequestDeviceAsync you can use ScanForDevicesAsync to programmatically get a list of devices to connect to without any UI. |
Beta Was this translation helpful? Give feedback.
Instead of RequestDeviceAsync you can use ScanForDevicesAsync to programmatically get a list of devices to connect to without any UI.