J
john pryor
Guest
I am using Device Watcher to discover nearby BLE devices from a UWP app and no 2 runs will I get the same devices listed in my app. One token is an iPhone and the other device is a Samsung/Android. If I reboot the PC I will sometimes be able to find the devices I'm looking for but after a few tries they tend to disappear again making my app wait for minutes sometime before the device watcher sees them again. What am I doing wrong? Is there a cache somewhere that the BLE driver is using that I should clear or an object I should be disposing or something?
Also, when I try to programatically OS pair one of the devices the app fails 95% of the time.
The iPhone device has an encrypted characteristic which complicates things. When doing an OS pair I'm not sure if I should use the 'DevicePairingProtectionLevel.EncryptionAndAuthentication' or the 'DevicePairingProtectionLevel.Encryption' protection level. This is only because of the encrypted characteristic on the iPhone token.
Should I require the user to pair to the OS manually before they try to use my app? Ideally I would like to OS pair programatically.
John Pryor
Continue reading...
Also, when I try to programatically OS pair one of the devices the app fails 95% of the time.
The iPhone device has an encrypted characteristic which complicates things. When doing an OS pair I'm not sure if I should use the 'DevicePairingProtectionLevel.EncryptionAndAuthentication' or the 'DevicePairingProtectionLevel.Encryption' protection level. This is only because of the encrypted characteristic on the iPhone token.
Should I require the user to pair to the OS manually before they try to use my app? Ideally I would like to OS pair programatically.
John Pryor
Continue reading...