You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Android we have been setting the client's Inquiry Length to 30 seconds. It appears with the a recent update the
Inquiry length no longer works on Android. Looking at the AndroidBluetoothClient code it appears the Get for InquiryLength always returns 0 and the Set for InquiryLength throws Operation is not supported on this platform
How can we set the InquiryLength on Android ?
Operation is not supported on this platform.
[DOTNET]
[DOTNET] at InTheHand.Net.Sockets.AndroidBluetoothClient.InTheHand.Net.Sockets.IBluetoothClient.set_InquiryLength(TimeSpan value)
[DOTNET] at InTheHand.Net.Sockets.BluetoothClient.set_InquiryLength(TimeSpan value)
The text was updated successfully, but these errors were encountered:
While it didn't used to throw an exception, InquiryLength was never supported on Android and was a no-op. You can use the newer DiscoverDevicesAsync method on .NET 6.0 and above which allows you to pass a cancellation token so that you can stop discovery once you have the required device or after a set time.
On Android we have been setting the client's Inquiry Length to 30 seconds. It appears with the a recent update the
Inquiry length no longer works on Android. Looking at the AndroidBluetoothClient code it appears the Get for InquiryLength always returns 0 and the Set for InquiryLength throws Operation is not supported on this platform
How can we set the InquiryLength on Android ?
The text was updated successfully, but these errors were encountered: