Reputation: 1253
I'm running a UWP/C# app in Windows 10 and attempting to connect to a Bluetooth LE device (that was successfully paired) using BluetoothLEDevice.FromIdAsync(). It returns a device object, but it's always in a disconnected state. I've tried re-pairing the device multiple times, but it doesn't help. This device successfully connects in other environments - it's just Windows/UWP where I'm having trouble. Thoughts? After pairing, should a consent dialog automatically appear when attempting to connect?
Upvotes: 0
Views: 900
Reputation: 18482
You must interact with it in order to connect to it, for example read/write some GATT value. You can also enable notifications for some characteristic which then will make the Bluetooth stack have a connection open to the device.
Upvotes: 1