New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ScanTimeout seems to be ignored #783
Comments
I'm the friendly issue checker. If you think it's fine to make an exception, just ignore this message. Thanks! |
Assuming "The function" refers to device scanning, I have confirmed no issue using |
I cannot reproduce this either. I'm testing on Android 14 with Plugin.BLE 3.1.0-beta.2 (on a Samsung Galaxy device). No matter which ScanMode or ScanMatchMode I set, I see that the received advertisements stop roughly after the requested time, and also @alessandrofrancesconi I will close this, unless you can provide further info as to when or why this occurs. It's definitely not a general problem with our library. Maybe just some specific issue with the BT implementation on your Experia device? Do you see this with other devices or Android versions as well? |
I'm using
StartScanningForDevicesAsync
and the Adapter is configured with the following parametersTesting on Android 11, by calling this:
await this.Ble.Adapter.StartScanningForDevicesAsync(...);
The function always completes after 10 second instead of 3.
Configuration
Version of the Plugin: 3.0.0
Platform: Android 11
Device: Xperia Compact XZ1
The text was updated successfully, but these errors were encountered: