Skip to content
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

Scan filtering broken on Windows 11 #370

Open
markATavail opened this issue Mar 7, 2024 · 1 comment
Open

Scan filtering broken on Windows 11 #370

markATavail opened this issue Mar 7, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@markATavail
Copy link

As a data point, I believe scan filtering has stayed working on Mac since well before this patch. On Windows 11, running the same application as on Mac (Kotlin connecting to a Rust library including btleplug), it used to work correctly when one advertisement id was in the filter, but always reported no advertisements if there were two or more ids in the filter list. Now it presents an empty list of advertisements if even one id is in the filter list. The related pull request #313 looks straightforward to me, but maybe there's something broken with filtering in the underlying library.

Expected: Expect scan filtering to work on Windows 11.

Actual: The advertisement list is always empty on Windows 11, if any id is included in the ScanFilter { services } vec.

Additional context: This works on Mac when presented with zero, one, or two services in the ScanFilter, correctly filtering out non-matching services. I don't have access to Windows 10 for testing.

@markATavail markATavail added the bug Something isn't working label Mar 7, 2024
@HoshinoSuzumi
Copy link

I'm having the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants