Scan filtering broken on Windows 11
markATavail opened this issue · comments
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.